clipper2
library
Classes
Clipper
A wrapper class containing convenience functions for most common clipping operations.
Clipper64
Clipper engine that uses integer coordinates.
ClipperD
Clipper engine that uses floating point coordinates.
ClipperOffset
Polygon offsetting engine.
Point64
Point64 describes a point whose coordinates are integer.
On native platforms, the range is full 64 bits; on the web, the range is 52 bits.
PointD
PointD describes a point whose coordinates are floating point.
PolyPath <T extends PolyPath <T , P > , P extends Object >
A path interpreted as a polygon (which might be a part of a multi-level polygon).
PolyPath64
PolyPath64 specializes PolyPath for a Path64 .
PolyPathD
PolyPathD specializes PolyPath for a PathD .
PolyTree64
PolyTree64 is the root level of a polygon tree with paths as Path64 .
PolyTreeD
PolyTreeD is the root level of a polygon tree with paths as PathD .
Rect64
Rect64 is a rectangle defined by its left, top, right, and bottom edges, in integer coordinates.
RectD
RectD is a rectangle defined by its left, top, right, and bottom edges, in floating point coordinates.
Solution64
Solution for a clipping operation.
SolutionD
Solution for a clipping operation.
SolutionTree64
Solution for a clipping operation, as a polygon tree.
SolutionTreeD
Solution for a clipping operation, as a polygon tree.
Typedefs
DeltaCallback64
= double Function(Path64 path , PathD pathNorms , int currPt , int prevPt )
A callback to dynamically determine the delta value for a certain point in the path.
Path64
= List <Point64 >
Path64 is just a list of Point64 s.
PathD
= List <PointD >
PathD is just a list of PointD s.
Paths64
= List <Path64 >
Paths64 is a list of Path64 s.
PathsD
= List <PathD >
PathsD is a list of PathD s.
ZCallback64
= int ? Function(Point64 bot1 , Point64 top1 , Point64 bot2 , Point64 top2 , Point64 intersectPt )
After an intersection has been found, this callback can adjust the new point's Z level by returning a non-null
value. intersectPt
contains an initial guess.
ZCallbackD
= int Function(PointD bot1 , PointD top1 , PointD bot2 , PointD top2 , PointD intersectPt )
After an intersection has been found, this callback can adjust the new point's Z level by returning a non-null
value. intersectPt
contains an initial guess.