Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SplineInterpolator<TIter, TProxy>

Type parameters

  • TIter

  • TProxy

Hierarchy

Implemented by

Index

Methods

getColor

  • getColor(iterator: TIter, colFn: (...arg: any[]) => void, col: any, offset: number, isCyclic: boolean): void
  • Interpolates color data provided by the iterator argument

    Parameters

    • iterator: TIter
    • colFn: (...arg: any[]) => void
        • (...arg: any[]): void
        • Parameters

          • Rest ...arg: any[]

          Returns void

    • col: any
    • offset: number
    • isCyclic: boolean

    Returns void

getNormal

  • getNormal(size: number, tan: Float32Array, norm: Float32Array, bin: Float32Array, offset: number, isCyclic: boolean): void
  • Interpolates normal vectors provided by the iterator argument

    Parameters

    • size: number
    • tan: Float32Array
    • norm: Float32Array
    • bin: Float32Array
    • offset: number

      offset in the results array

    • isCyclic: boolean

      should the interpolation be cyclic (work with cyclic data)

    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
  • Interpolates picking data provided by the iterator argument

    Parameters

    • iterator: TIter
    • pickFn: (item: TProxy) => number
        • (item: TProxy): number
        • Parameters

          • item: TProxy

          Returns number

    • pick: Float32Array
    • offset: number
    • isCyclic: boolean

    Returns void

getPosition

  • getPosition(iterator: TIter, array: Float32Array, offset: number, isCyclic: boolean): void
  • Interpolates position points provided by the iterator argument

    Parameters

    • iterator: TIter

      iterator iterating over the values

    • array: Float32Array

      array where to save the results

    • offset: number

      offset in the results array

    • isCyclic: boolean

      should the interpolation be cyclic (work with cyclic data)

    Returns void

getSize

  • getSize(iterator: TIter, sizeFn: (item: TProxy) => number, size: Float32Array, offset: number, isCyclic: boolean): void
  • Interpolates size data provided by the iterator argument

    Parameters

    • iterator: TIter
    • sizeFn: (item: TProxy) => number
        • (item: TProxy): number
        • Parameters

          • item: TProxy

          Returns number

    • size: Float32Array
    • offset: number
    • isCyclic: boolean

    Returns void

getTangent

  • getTangent(iterator: TIter, array: Float32Array, offset: number, isCyclic: boolean): void
  • Interpolates tangent vectors provided by the iterator argument

    Parameters

    • iterator: TIter

      iterator iterating over the values

    • array: Float32Array

      array where to save the results

    • offset: number

      offset in the results array

    • isCyclic: boolean

      should the interpolation be cyclic (work with cyclic data)

    Returns void

Generated using TypeDoc