Uses of Class
com.github.micycle1.clipper2.core.Paths64
Packages that use Paths64
Package
Description
Clipper2 is an open source freeware library that performs line and polygon
clipping, and offsetting.
The Clipper64 and ClipperD classes in this unit encapsulate all the logic
that performs path clipping.
This unit contains the ClipperOffset class that performs all polygon
offsetting.
This unit contains the code that implements the RectClip64 functions found in
the Clipper Unit.
-
Uses of Paths64 in com.github.micycle1.clipper2
Methods in com.github.micycle1.clipper2 that return Paths64Modifier and TypeMethodDescriptionstatic Paths64Applies the requested boolean operation to integer subject and clip paths.static Paths64static Paths64Clipper.difference(Paths64 subject, Paths64 clip, FillRule fillRule) Subtracts the clip paths from the subject paths.static Paths64Clipper.inflatePaths(Paths64 paths, double delta, JoinType joinType, EndType endType) Inflates or shrinks integer paths with default miter and arc settings.static Paths64Clipper.inflatePaths(Paths64 paths, double delta, JoinType joinType, EndType endType, double miterLimit, double arcTolerance) Inflates or shrinks integer paths.static Paths64Intersects two sets of integer paths.static Paths64Clipper.minkowskiDiff(Path64 pattern, Path64 path, boolean isClosed) static Paths64Clipper.minkowskiSum(Path64 pattern, Path64 path, boolean isClosed) static Paths64static Paths64Clipper.polyTreeToPaths64(PolyTree64 polyTree) static Paths64Clipper.ramerDouglasPeucker(Paths64 paths, double epsilon) The Ramer-Douglas-Peucker algorithm is very useful in removing path segments that don't contribute meaningfully to the path's shape.static Paths64static Paths64static Paths64Clipper.rectClipLines(Rect64 rect, Path64 path) static Paths64Clipper.rectClipLines(Rect64 rect, Paths64 paths) static Paths64Clipper.reversePaths(Paths64 paths) static Paths64Clipper.scalePaths(Paths64 paths, double scale) static Paths64Clipper.scalePaths64(PathsD paths, double scale) static Paths64Clipper.simplifyPaths(Paths64 paths, double epsilon) Simplifies multiple integer paths assuming open paths by default.static Paths64Clipper.simplifyPaths(Paths64 paths, double epsilon, boolean isClosedPath) Simplifies multiple integer paths.static Paths64static Paths64Clipper.translatePaths(Paths64 paths, long dx, long dy) static Paths64Unites the supplied integer subject paths.static Paths64Unites two sets of integer paths.static Paths64Computes the exclusive-or of two sets of integer paths.Methods in com.github.micycle1.clipper2 with parameters of type Paths64Modifier and TypeMethodDescriptionstatic doubleReturns the area of the supplied polygon.static voidClipper.booleanOp(ClipType clipType, @Nullable Paths64 subject, @Nullable Paths64 clip, PolyTree64 polytree, FillRule fillRule) This function is a generic alternative to the Intersect, Difference, Union and XOR functions.static Paths64Applies the requested boolean operation to integer subject and clip paths.static Paths64Clipper.difference(Paths64 subject, Paths64 clip, FillRule fillRule) Subtracts the clip paths from the subject paths.static Rect64Returns the bounds of multiple integer paths.static Paths64Clipper.inflatePaths(Paths64 paths, double delta, JoinType joinType, EndType endType) Inflates or shrinks integer paths with default miter and arc settings.static Paths64Clipper.inflatePaths(Paths64 paths, double delta, JoinType joinType, EndType endType, double miterLimit, double arcTolerance) Inflates or shrinks integer paths.static Paths64Intersects two sets of integer paths.static StringClipper.paths64ToString(Paths64 paths) static PathsDstatic Paths64Clipper.ramerDouglasPeucker(Paths64 paths, double epsilon) The Ramer-Douglas-Peucker algorithm is very useful in removing path segments that don't contribute meaningfully to the path's shape.static Paths64static Paths64Clipper.rectClipLines(Rect64 rect, Paths64 paths) static Paths64Clipper.reversePaths(Paths64 paths) static Paths64Clipper.scalePaths(Paths64 paths, double scale) static PathsDClipper.scalePathsD(Paths64 paths, double scale) static Paths64Clipper.simplifyPaths(Paths64 paths, double epsilon) Simplifies multiple integer paths assuming open paths by default.static Paths64Clipper.simplifyPaths(Paths64 paths, double epsilon, boolean isClosedPath) Simplifies multiple integer paths.static Paths64Clipper.translatePaths(Paths64 paths, long dx, long dy) static Paths64Unites the supplied integer subject paths.static Paths64Unites two sets of integer paths.static Paths64Computes the exclusive-or of two sets of integer paths. -
Uses of Paths64 in com.github.micycle1.clipper2.engine
Methods in com.github.micycle1.clipper2.engine with parameters of type Paths64Modifier and TypeMethodDescriptionfinal booleanExecutes the requested clipping operation and returns only closed solution paths.final booleanClipper64.execute(ClipType clipType, FillRule fillRule, Paths64 solutionClosed, Paths64 solutionOpen) Once subject and clip paths have been assigned (viaaddSubject(),addOpenSubject()andaddClip()methods),execute()can then perform the specified clipping operation (intersection, union, difference or XOR).final booleanClipper64.execute(ClipType clipType, FillRule fillRule, PolyTree64 polytree, Paths64 openPaths) Executes the requested clipping operation and writes the nested closed-path result to aPolyTree64. -
Uses of Paths64 in com.github.micycle1.clipper2.offset
Methods in com.github.micycle1.clipper2.offset with parameters of type Paths64 -
Uses of Paths64 in com.github.micycle1.clipper2.rectclip
Methods in com.github.micycle1.clipper2.rectclip that return Paths64Modifier and TypeMethodDescriptionMethods in com.github.micycle1.clipper2.rectclip with parameters of type Paths64