Package-level declarations
Functions
Link copied to clipboard
fun clothoid(start: Vector2, startTangent: Vector2, end: Vector2, endTangent: Vector2, polarity: YPolarity = YPolarity.CW_NEGATIVE_Y): ShapeContour
The clothoid from start leaving in startTangent to end arriving in endTangent, see List.clothoids.
Link copied to clipboard
fun List<Vector2>.clothoids(closed: Boolean, tangents: List<Vector2>? = null, polarity: YPolarity = YPolarity.CW_NEGATIVE_Y): ShapeContour
Converts this polyline into a clothoid spline: a contour of clothoid (Euler spiral) segments, along which the curvature changes linearly with arc length, that passes through all points.