Skip to content

Documentation / @ripl/core / InterpolatePointsFactory

Interface: InterpolatePointsFactory() ​

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

The interpolatePoints factory: a point-array interpolator factory that also accepts InterpolatePointsOptions.

Extends ​

InterpolatePointsFactory(setA, setB, options?): Interpolator<Point[]>

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

Creates an interpolator that morphs point array setA into setB, optionally keyed via InterpolatePointsOptions.

Parameters ​

ParameterType
setAPoint[]
setBPoint[]
options?InterpolatePointsOptions

Returns ​

Interpolator<Point[]>

Methods ​

test()? ​

optional test(value): boolean

Defined in: packages/core/src/interpolators/types.ts:7

Tests whether this factory can interpolate the given value.

Parameters ​

ParameterType
valueunknown

Returns ​

boolean

Inherited from ​

PredicatedFunction.test