Functions | |
| C2::ClipType | to_c2 (ClipType type) |
| C2::FillRule | to_c2 (PolyFillType type) |
| C2::JoinType | to_c2 (JoinType type) |
| C2::EndType | to_c2 (EndType type) |
| int64_t | px (const Point &pt) |
| int64_t | py (const Point &pt) |
| int64_t | px (const C2::Point64 &pt) |
| int64_t | py (const C2::Point64 &pt) |
| template<typename PathsProvider> | |
| C2::Paths64 | to_paths64 (PathsProvider &&paths) |
| template<class PathT> | |
| bool | append_offset_path (C2::Paths64 &out, const PathT &path, double shortest, C2::EndType end) |
| Points | c2_to_points (const C2::Path64 &path) |
| Polygons | c2_to_polygons (const C2::Paths64 &paths) |
| Polylines | c2_to_polylines (const C2::Paths64 &paths) |
| size_t | c2_count_expolygons (const C2::PolyPath64 &outer) |
| void | c2_append_expolygons (const C2::PolyPath64 &outer, ExPolygons &out, std::vector< const C2::Path64 * > &stray_holes) |
| bool | path_encloses (const Polygon &outer, const Polygon &inner) |
| void | c2_attach_stray_holes (ExPolygons &out, size_t first, const std::vector< const C2::Path64 * > &stray_holes) |
| ExPolygons | c2_to_expolygons (const C2::PolyTree64 &tree) |
| template<class TOut> | |
| void | c2_clip (C2::ClipType type, const C2::Paths64 &subject, const C2::Paths64 &clip, C2::FillRule fill, TOut &out) |
| Polylines | c2_clip_open (C2::ClipType type, const C2::Paths64 &subject, const C2::Paths64 &clip) |
| void | c2_offset_setup (C2::ClipperOffset &co, float delta, JoinType joinType, double miterLimit, double capTolerance=0.) |
| bool | c2_offset_as_group (const C2::Paths64 &paths, const std::vector< double > &areas) |
| template<class TOut> | |
| void | c2_offset_closed_paths (C2::Paths64 &&paths, float delta, JoinType joinType, double miterLimit, TOut &out) |
| template<class PathsT, class TOut> | |
| void | c2_offset_closed (PathsT &&src, float delta, JoinType joinType, double miterLimit, TOut &out) |
| template<class PathsProvider, class TOut> | |
| void | c2_offset2_closed (PathsProvider &&src, float delta1, float delta2, JoinType joinType, double miterLimit, TOut &out) |
| const ExPolygon & | expolygon_of (const ExPolygon &expoly) |
| const ExPolygon & | expolygon_of (const ExPolygon *expoly) |
| const ExPolygon & | expolygon_of (const Surface &surface) |
| const ExPolygon & | expolygon_of (const Surface *surface) |
| template<class ExPolygonRange, class TOut> | |
| void | c2_offset_expolygons (const ExPolygonRange &src, float delta, JoinType joinType, double miterLimit, TOut &out) |
| template<class ExPolygonRange> | |
| Polygons | c2_expolygons_offset (const ExPolygonRange &src, float delta, JoinType joinType, double miterLimit) |
| template<class ExPolygonRange> | |
| ExPolygons | c2_expolygons_offset_ex (const ExPolygonRange &src, float delta, JoinType joinType, double miterLimit) |
| template<class PathsProvider> | |
| Polygons | c2_offset_lines (PathsProvider &&src, float delta, JoinType joinType, double miterLimit, EndType endType, double capTolerance=0.) |
| template<class PathsProvider> | |
| C2::Paths64 | c2_clip_paths (PathsProvider &&clip, ApplySafetyOffset do_safety_offset) |
| bool Slic3r::anonymous_namespace{ClipperUtils.cpp}::append_offset_path | ( | C2::Paths64 & | out, |
| const PathT & | path, | ||
| double | shortest, | ||
| C2::EndType | end ) |
References append_offset_path(), and px().
Referenced by append_offset_path(), c2_offset_closed(), c2_offset_expolygons(), and c2_offset_lines().
| void Slic3r::anonymous_namespace{ClipperUtils.cpp}::c2_append_expolygons | ( | const C2::PolyPath64 & | outer, |
| ExPolygons & | out, | ||
| std::vector< const C2::Path64 * > & | stray_holes ) |
References c2_append_expolygons(), and c2_to_points().
Referenced by c2_append_expolygons(), and c2_to_expolygons().
| void Slic3r::anonymous_namespace{ClipperUtils.cpp}::c2_attach_stray_holes | ( | ExPolygons & | out, |
| size_t | first, | ||
| const std::vector< const C2::Path64 * > & | stray_holes ) |
References Slic3r::area(), c2_attach_stray_holes(), c2_to_points(), Slic3r::contour(), Slic3r::get_extents(), Slic3r::BoundingBoxBase< PointType, APointsType >::max, Slic3r::BoundingBoxBase< PointType, APointsType >::min, Slic3r::MultiPoint::points, and Slic3r::AABBTreeIndirect::traverse().
Referenced by c2_attach_stray_holes(), and c2_to_expolygons().
| void Slic3r::anonymous_namespace{ClipperUtils.cpp}::c2_clip | ( | C2::ClipType | type, |
| const C2::Paths64 & | subject, | ||
| const C2::Paths64 & | clip, | ||
| C2::FillRule | fill, | ||
| TOut & | out ) |
References c2_clip().
Referenced by c2_clip(), and c2_offset_closed_paths().
| Polylines Slic3r::anonymous_namespace{ClipperUtils.cpp}::c2_clip_open | ( | C2::ClipType | type, |
| const C2::Paths64 & | subject, | ||
| const C2::Paths64 & | clip ) |
References c2_clip_open(), and c2_to_polylines().
Referenced by c2_clip_open().
| C2::Paths64 Slic3r::anonymous_namespace{ClipperUtils.cpp}::c2_clip_paths | ( | PathsProvider && | clip, |
| ApplySafetyOffset | do_safety_offset ) |
References c2_clip_paths(), c2_offset_closed(), Slic3r::ClipperSafetyOffset, Slic3r::DefaultJoinType, Slic3r::DefaultMiterLimit, Slic3r::No, and to_paths64().
Referenced by c2_clip_paths().
| size_t Slic3r::anonymous_namespace{ClipperUtils.cpp}::c2_count_expolygons | ( | const C2::PolyPath64 & | outer | ) |
References c2_count_expolygons().
Referenced by c2_count_expolygons(), and c2_to_expolygons().
| Polygons Slic3r::anonymous_namespace{ClipperUtils.cpp}::c2_expolygons_offset | ( | const ExPolygonRange & | src, |
| float | delta, | ||
| JoinType | joinType, | ||
| double | miterLimit ) |
References c2_expolygons_offset(), c2_offset_expolygons(), and c2_to_polygons().
Referenced by c2_expolygons_offset().
| ExPolygons Slic3r::anonymous_namespace{ClipperUtils.cpp}::c2_expolygons_offset_ex | ( | const ExPolygonRange & | src, |
| float | delta, | ||
| JoinType | joinType, | ||
| double | miterLimit ) |
References c2_expolygons_offset_ex(), c2_offset_expolygons(), and c2_to_expolygons().
Referenced by c2_expolygons_offset_ex().
| void Slic3r::anonymous_namespace{ClipperUtils.cpp}::c2_offset2_closed | ( | PathsProvider && | src, |
| float | delta1, | ||
| float | delta2, | ||
| JoinType | joinType, | ||
| double | miterLimit, | ||
| TOut & | out ) |
References c2_offset2_closed(), and c2_offset_closed().
Referenced by c2_offset2_closed().
| bool Slic3r::anonymous_namespace{ClipperUtils.cpp}::c2_offset_as_group | ( | const C2::Paths64 & | paths, |
| const std::vector< double > & | areas ) |
References c2_offset_as_group().
Referenced by c2_offset_as_group(), and c2_offset_closed_paths().
| void Slic3r::anonymous_namespace{ClipperUtils.cpp}::c2_offset_closed | ( | PathsT && | src, |
| float | delta, | ||
| JoinType | joinType, | ||
| double | miterLimit, | ||
| TOut & | out ) |
References append_offset_path(), c2_offset_closed(), c2_offset_closed_paths(), and Slic3r::ClipperOffsetShortestEdgeFactor.
Referenced by c2_clip_paths(), c2_offset2_closed(), c2_offset_closed(), and c2_offset_lines().
| void Slic3r::anonymous_namespace{ClipperUtils.cpp}::c2_offset_closed_paths | ( | C2::Paths64 && | paths, |
| float | delta, | ||
| JoinType | joinType, | ||
| double | miterLimit, | ||
| TOut & | out ) |
References Slic3r::append(), c2_clip(), c2_offset_as_group(), c2_offset_closed_paths(), c2_offset_setup(), and to_c2().
Referenced by c2_offset_closed(), and c2_offset_closed_paths().
| void Slic3r::anonymous_namespace{ClipperUtils.cpp}::c2_offset_expolygons | ( | const ExPolygonRange & | src, |
| float | delta, | ||
| JoinType | joinType, | ||
| double | miterLimit, | ||
| TOut & | out ) |
References append_offset_path(), Slic3r::area(), c2_offset_expolygons(), c2_offset_setup(), Slic3r::ClipperOffsetShortestEdgeFactor, Slic3r::ExPolygon::contour, expolygon_of(), Slic3r::ExPolygon::holes, Slic3r::MultiPoint::points, and to_c2().
Referenced by c2_expolygons_offset(), c2_expolygons_offset_ex(), and c2_offset_expolygons().
| Polygons Slic3r::anonymous_namespace{ClipperUtils.cpp}::c2_offset_lines | ( | PathsProvider && | src, |
| float | delta, | ||
| JoinType | joinType, | ||
| double | miterLimit, | ||
| EndType | endType, | ||
| double | capTolerance = 0. ) |
References append_offset_path(), c2_offset_closed(), c2_offset_lines(), c2_offset_setup(), c2_to_polygons(), Slic3r::ClipperOffsetShortestEdgeFactor, Slic3r::etClosedPolygon, and to_c2().
Referenced by c2_offset_lines().
| void Slic3r::anonymous_namespace{ClipperUtils.cpp}::c2_offset_setup | ( | C2::ClipperOffset & | co, |
| float | delta, | ||
| JoinType | joinType, | ||
| double | miterLimit, | ||
| double | capTolerance = 0. ) |
References c2_offset_setup(), and Slic3r::jtRound.
Referenced by c2_offset_closed_paths(), c2_offset_expolygons(), c2_offset_lines(), and c2_offset_setup().
| ExPolygons Slic3r::anonymous_namespace{ClipperUtils.cpp}::c2_to_expolygons | ( | const C2::PolyTree64 & | tree | ) |
References c2_append_expolygons(), c2_attach_stray_holes(), c2_count_expolygons(), and c2_to_expolygons().
Referenced by c2_expolygons_offset_ex(), and c2_to_expolygons().
|
inline |
References c2_to_points().
Referenced by c2_append_expolygons(), c2_attach_stray_holes(), c2_to_points(), c2_to_polygons(), and c2_to_polylines().
| Polygons Slic3r::anonymous_namespace{ClipperUtils.cpp}::c2_to_polygons | ( | const C2::Paths64 & | paths | ) |
References c2_to_points(), and c2_to_polygons().
Referenced by c2_expolygons_offset(), c2_offset_lines(), and c2_to_polygons().
| Polylines Slic3r::anonymous_namespace{ClipperUtils.cpp}::c2_to_polylines | ( | const C2::Paths64 & | paths | ) |
References c2_to_points(), and c2_to_polylines().
Referenced by c2_clip_open(), and c2_to_polylines().
|
inline |
References expolygon_of().
Referenced by c2_offset_expolygons(), expolygon_of(), expolygon_of(), expolygon_of(), and expolygon_of().
|
inline |
References Slic3r::Surface::expolygon, and expolygon_of().
|
inline |
References Slic3r::Surface::expolygon, and expolygon_of().
| bool Slic3r::anonymous_namespace{ClipperUtils.cpp}::path_encloses | ( | const Polygon & | outer, |
| const Polygon & | inner ) |
References Slic3r::Geometry::contains(), Slic3r::ClipperUtils::interior_point(), Slic3r::Polygon::on_boundary(), path_encloses(), and Slic3r::MultiPoint::points.
Referenced by path_encloses().
|
inline |
|
inline |
References px().
Referenced by append_offset_path(), px(), and px().
|
inline |
|
inline |
| C2::ClipType Slic3r::anonymous_namespace{ClipperUtils.cpp}::to_c2 | ( | ClipType | type | ) |
References Slic3r::ctDifference, Slic3r::ctIntersection, Slic3r::ctUnion, and to_c2().
Referenced by c2_offset_closed_paths(), c2_offset_expolygons(), c2_offset_lines(), to_c2(), to_c2(), to_c2(), and to_c2().
| C2::EndType Slic3r::anonymous_namespace{ClipperUtils.cpp}::to_c2 | ( | EndType | type | ) |
References Slic3r::etClosedLine, Slic3r::etClosedPolygon, Slic3r::etOpenRound, Slic3r::etOpenSquare, and to_c2().
| C2::JoinType Slic3r::anonymous_namespace{ClipperUtils.cpp}::to_c2 | ( | JoinType | type | ) |
References Slic3r::jtRound, Slic3r::jtSquare, and to_c2().
| C2::FillRule Slic3r::anonymous_namespace{ClipperUtils.cpp}::to_c2 | ( | PolyFillType | type | ) |
References Slic3r::pftEvenOdd, Slic3r::pftNonZero, Slic3r::pftPositive, and to_c2().
| C2::Paths64 Slic3r::anonymous_namespace{ClipperUtils.cpp}::to_paths64 | ( | PathsProvider && | paths | ) |
References to_paths64().
Referenced by c2_clip_paths(), and to_paths64().