Documentation / @ripl/core / InterpolatePointsFactory
Interface: InterpolatePointsFactory()
Defined in: packages/core/src/interpolators/path.ts:99
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:101
Creates an interpolator that morphs point array setA into setB, optionally keyed via InterpolatePointsOptions.
Parameters
| Parameter | Type |
|---|---|
setA | Point[] |
setB | Point[] |
options? | InterpolatePointsOptions |
Returns
Methods
test()?
optionaltest(value):boolean
Defined in: packages/core/src/interpolators/types.ts:7
Tests whether this factory can interpolate the given value.
Parameters
| Parameter | Type |
|---|---|
value | unknown |
Returns
boolean