Repository navigation
MinkowskiDiff
Seth Hillbrand edited this page Oct 29, 2026
·
2 revisions
Home › clipper.h › MinkowskiDiff
Paths64 MinkowskiDiff(const Path64& pattern, const Path64& path, const isClosed);Example:
Path64 pattern = Ellipse(Point64(100,100), 30, 30);
Path64 path = MakePath({0,0, 200,0, 200,200, 0,200, 0,0});
Paths64 solution = MinkowskiDiff(pattern, path, true);
//draw solutionCopyright © 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