WebCola
Options
All
  • Public
  • Public/Protected
  • All
Menu

An Interpolator factory returns an interpolator function.

The first generic correponds to the data type of the interpolation boundaries. The second generic corresponds to the data type of the return type of the interpolator.

Type parameters

  • T

  • U

Hierarchy

  • InterpolatorFactory

Callable

  • __call(a: T, b: T): function
  • Construct a new interpolator function, based on the provided interpolation boundaries.

    The first generic correponds to the data type of the interpolation boundaries. The second generic corresponds to the data type of the return type of the interpolator.

    Parameters

    • a: T

      Start boundary of the interpolation interval.

    • b: T

      End boundary of the interpolation interval.

    Returns function

      • (t: number): U
      • Parameters

        • t: number

        Returns U

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc