pointAtLength

fun pointAtLength(length: Double, distanceTolerance: Double = 0.5): Vector2

Calculates the point at a given distance along this Segment.

See also

Parameters

length

the distance along the Segment.

distanceTolerance

the tolerance used for simplifying the Segment, lower values result in more accurate results, but slower calculation.

Sources

Link copied to clipboard