Skip to content

Documentation / @ripl/core / interpolateWaypoint

Function: interpolateWaypoint()

interpolateWaypoint(points): Interpolator<Point>

Defined in: packages/core/src/interpolators/path.ts:185

Creates an interpolator that returns the point along a polyline at the given normalised position.

Parameters

ParameterType
pointsPoint[]

Returns

Interpolator<Point>