Interface SplineInterpolator<TIter, TProxy>
Methods
getColor
- getColor(iterator: TIter, colFn: (...arg: any[]) => void, col: any, offset: number, isCyclic: boolean): void
-
Parameters
-
iterator: TIter
-
colFn: (...arg: any[]) => void
-
col: any
-
offset: number
-
isCyclic: boolean
Returns void
getNormal
- getNormal(size: number, tan: Float32Array, norm: Float32Array, bin: Float32Array, offset: number, isCyclic: boolean): void
-
Parameters
-
size: number
-
tan: Float32Array
-
norm: Float32Array
-
bin: Float32Array
-
offset: number
-
isCyclic: boolean
Returns void
Optional getNormalDir
- getNormalDir(iterDir1: TIter, iterDir2: TIter, tan: Float32Array, norm: Float32Array, bin: Float32Array, offset: number, isCyclic: boolean, shift: boolean): void
-
Parameters
-
iterDir1: TIter
-
iterDir2: TIter
-
tan: Float32Array
-
norm: Float32Array
-
bin: Float32Array
-
offset: number
-
isCyclic: boolean
-
shift: boolean
Returns void
getPicking
- getPicking(iterator: TIter, pickFn: (item: TProxy) => number, pick: Float32Array, offset: number, isCyclic: boolean): void
-
Parameters
-
iterator: TIter
-
pickFn: (item: TProxy) => number
-
-
Parameters
Returns number
-
pick: Float32Array
-
offset: number
-
isCyclic: boolean
Returns void
getPosition
- getPosition(iterator: TIter, array: Float32Array, offset: number, isCyclic: boolean): void
-
Parameters
-
iterator: TIter
-
array: Float32Array
-
offset: number
-
isCyclic: boolean
Returns void
getSize
- getSize(iterator: TIter, sizeFn: (item: TProxy) => number, size: Float32Array, offset: number, isCyclic: boolean): void
-
Parameters
-
iterator: TIter
-
sizeFn: (item: TProxy) => number
-
-
Parameters
Returns number
-
size: Float32Array
-
offset: number
-
isCyclic: boolean
Returns void
getTangent
- getTangent(iterator: TIter, array: Float32Array, offset: number, isCyclic: boolean): void
-
Parameters
-
iterator: TIter
-
array: Float32Array
-
offset: number
-
isCyclic: boolean
Returns void
Interpolates color data provided by the iterator argument