Repository navigation
PathD
typedef std::vector<PointD> Path;This structure contains a sequence of PointD vertices defining a single contour (see also terminology). Paths may be open and represent a series of line segments defined by 2 or more vertices, or they may be closed and represent polygons. Whether or not a path is open depends on its context. Closed paths may be 'outer' contours, or they may be 'hole' contours, and this usually depends on their orientation (whether arranged roughly clockwise, or arranged counter-clockwise).
Multiple PathD structures can be grouped into a PathsD structure.
Examples, Overview, ClipperD.AddClip, ClipperD.AddOpenSubject, ClipperD.AddSubject, Path64, PathsD, PointD
Copyright © 2010-2025 Angus Johnson. Clipper2 is distributed under the Boost Software License.
Headers
- clipper.h
- clipper.core.h
- clipper.engine.h
- clipper.export.h
- clipper.minkowski.h
- clipper.offset.h
- clipper.rectclip.h
- clipper.triangulation.h
Classes
Data types and structure definitions
- ClipType
- EndType
- FillRule
- JoinType
- Path64
- PathD
- Paths64
- PathsD
- Point64
- PointD
- PointInPolygonResult
- Rect64
- RectD
- TriangulateResult
- ZCallback64
- ZCallbackD
Static Functions
- Area
- BooleanOp
- Difference
- InflatePaths
- Intersect
- IsPositive
- MakePath
- MinkowskiDiff
- MinkowskiSum
- PointInPolygon
- PolyTreeToPaths64
- PolyTreeToPathsD
- RectClip
- RectClipLines
- ReversePath
- SimplifyPaths
- TranslatePath
- Triangulate
- TrimCollinear
- Union
- XOR
Topics