Companion

Functions

Link copied to clipboard
fun fromPoints(points: List<Vector2>, closed: Boolean, polarity: YPolarity = YPolarity.CW_NEGATIVE_Y): ShapeContour

Creates a ShapeContour by converting points to Segment2Ds.

Link copied to clipboard
fun fromSegments(segments: List<Segment2D>, closed: Boolean, polarity: YPolarity = YPolarity.CW_NEGATIVE_Y, distanceTolerance: Double = 0.001): ShapeContour

Properties

Link copied to clipboard

An empty ShapeContour object.