Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CubicInterpolant

Cubic interpolant See the ngx3js docs page for details.

Code Example

const interpolant = new THREE.CubicInterpolant(
new Float32Array( 2 ), new Float32Array( 2 ),, n, new Float32Array( 1 ) );
interpolant.evaluate( 0.5 );

Hierarchy

Index

Constructors

constructor

  • new CubicInterpolant(parameterPositions: any, samplesValues: any, sampleSize: number, resultBuffer?: any): I3JS.CubicInterpolant
  • new CubicInterpolant(parameterPositions: any, sampleValues: any, sampleSize: number, resultBuffer?: any): I3JS.CubicInterpolant

Properties

parameterPositions

parameterPositions: any

Array of positions

resultBuffer

resultBuffer: any

Buffer to store the interpolation results.

sampleValues

sampleValues: any

Array of samples

valueSize

valueSize: number

Number of samples

Methods

evaluate

  • evaluate(t: number): number[]

interpolate_

  • interpolate_(i1: number, t0: number, t: number, t1: number): any

Generated using TypeDoc