Uses of Class
com.github.micycle1.clipper2.core.PathD
Packages that use PathD
Package
Description
Clipper2 is an open source freeware library that performs line and polygon
clipping, and offsetting.
Core geometry types and enums used throughout the Clipper2 API.
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.
-
Uses of PathD in com.github.micycle1.clipper2
Methods in com.github.micycle1.clipper2 that return PathDModifier and TypeMethodDescriptionstatic PathDApproximates a floating-point circle using an automatically chosen step count.static PathDApproximates a floating-point ellipse using an automatically chosen step count.static PathDApproximates a floating-point ellipse.static PathDClipper.makePath(double[] arr) Creates a floating-point path from alternatingx,ycoordinate pairs.static PathDstatic PathDClipper.ramerDouglasPeucker(PathD path, double epsilon) Simplifies a floating-point path using the Ramer-Douglas-Peucker algorithm.static PathDClipper.reversePath(PathD path) static PathDstatic PathDClipper.scalePathD(Path64 path, double scale) static PathDClipper.simplifyPath(PathD path, double epsilon) Simplifies a floating-point path assuming an open path by default.static PathDClipper.simplifyPath(PathD path, double epsilon, boolean isClosedPath) Removes vertices that are less than the specified epsilon distance from an imaginary line that passes through its 2 adjacent vertices.static PathDClipper.stripNearDuplicates(PathD path, double minEdgeLenSqrd, boolean isClosedPath) static PathDClipper.translatePath(PathD path, double dx, double dy) static PathDClipper.trimCollinear(PathD path, int precision) This function removes the vertices between adjacent collinear segments.static PathDClipper.trimCollinear(PathD path, int precision, boolean isOpen) This function removes the vertices between adjacent collinear segments.Methods in com.github.micycle1.clipper2 with parameters of type PathDModifier and TypeMethodDescriptionstatic doubleReturns the signed area of the supplied floating-point polygon.static PathsDstatic PathsDstatic RectDReturns the bounds of a floating-point path.static booleanClipper.isPositive(PathD poly) This function assesses the winding orientation of closed paths.static PathsDClipper.minkowskiDiff(PathD pattern, PathD path, boolean isClosed) static PathsDClipper.minkowskiSum(PathD pattern, PathD path, boolean isClosed) static Path64static StringClipper.pathDToString(PathD path) static PointInPolygonResultClipper.pointInPolygon(PointD pt, PathD polygon) static PointInPolygonResultClipper.pointInPolygon(PointD pt, PathD polygon, int precision) static PathDClipper.ramerDouglasPeucker(PathD path, double epsilon) Simplifies a floating-point path using the Ramer-Douglas-Peucker algorithm.static voidstatic PathsDstatic PathsDstatic PathsDClipper.rectClipLines(RectD rect, PathD path) static PathsDClipper.rectClipLines(RectD rect, PathD path, int precision) static PathDClipper.reversePath(PathD path) static PathDstatic Path64Clipper.scalePath64(PathD path, double scale) static PathDClipper.simplifyPath(PathD path, double epsilon) Simplifies a floating-point path assuming an open path by default.static PathDClipper.simplifyPath(PathD path, double epsilon, boolean isClosedPath) Removes vertices that are less than the specified epsilon distance from an imaginary line that passes through its 2 adjacent vertices.static PathDClipper.stripNearDuplicates(PathD path, double minEdgeLenSqrd, boolean isClosedPath) static PathsDstatic PathsDstatic PathDClipper.translatePath(PathD path, double dx, double dy) static PathDClipper.trimCollinear(PathD path, int precision) This function removes the vertices between adjacent collinear segments.static PathDClipper.trimCollinear(PathD path, int precision, boolean isOpen) This function removes the vertices between adjacent collinear segments. -
Uses of PathD in com.github.micycle1.clipper2.core
Methods in com.github.micycle1.clipper2.core that return PathDConstructor parameters in com.github.micycle1.clipper2.core with type arguments of type PathD -
Uses of PathD in com.github.micycle1.clipper2.engine
Methods in com.github.micycle1.clipper2.engine that return PathDMethods in com.github.micycle1.clipper2.engine with parameters of type PathDModifier and TypeMethodDescriptionvoidAdds a clip path.voidClipperD.addOpenSubject(PathD path) Adds an open subject path.voidAdds a closed path as either subject or clip input.voidAdds a path as either subject or clip input.voidClipperD.addSubject(PathD path) Adds a closed subject path. -
Uses of PathD in com.github.micycle1.clipper2.offset
Methods in com.github.micycle1.clipper2.offset with parameters of type PathD