pointAt

fun pointAt(distance: Double, result: Vec3): Vec3

Computes a Cartesian point a specified distance along this line.

Return

The specified result argument containing the computed point.

Parameters

distance

The distance from this line's origin at which to compute the point.

result

A pre-allocated Vec3 instance in which to return the computed point.