adaptivePositionsAndCorners
fun adaptivePositionsAndCorners(distanceTolerance: Double = 0.5): Pair<List<Vector2>, List<Boolean>>(source)
Recursively subdivides linear Segment2Ds to approximate Bézier curves.
Also see Segment2D.adaptivePositions.
Return
A pair containing a list of points and a list of respective boolean values for each point, indicating if the point is on a Segment2D boundary or not.
Parameters
distanceTolerance
The square of the maximal distance of each point from curve.