pointAtLength

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

Calculates the point at a given distance along this Segment.

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.

See also