Delphifunction MinkowskiDiff(const pattern, path: TPath64; pathIsClosed: Boolean): TPaths64;
C++Paths64 MinkowskiDiff(const Path64& pattern, const Path64& path, const isClosed);
C#Paths64 MinkowskiDiff(const Path64& pattern, const Path64& path, const isClosed);
1 2 3 4 5 | 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 solution |
1 2 3 4 5 | Path64 pattern = Ellipse( new Point64(100,100), 30, 30); Path64 path = Clipper.MakePath( new int [] { 0,0, 200,0, 200,200, 0,200, 0,0 }); Paths64 solution = Clipper.MinkowskiDiff(pattern, path, true ); //draw solution |
Copyright © 2010-2024 Angus Johnson - Clipper2 1.5.0 - Help file built on 24 Jan 2025