Curve2D.getClosestOffset

Returns the closest offset to to_point. This offset is meant to be used in interpolateBaked. to_point must be in this curve's local space.

struct Curve2D
@nogc nothrow const
double
getClosestOffset
(
in Vector2 to_point
)

Meta