Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InterpolatorMap<Y, FY>

Type parameters

  • Y

  • FY

Hierarchy

Callable

  • InterpolatorMap(x: number): FY
  • Parameters

    • x: number

    Returns FY

Index

Properties

Readonly 0

0: FY

Readonly 1

1: FY

Readonly domain

domain: LinearDomain

Readonly interpolator

interpolator: Interpolator<Y>

Readonly range

range: InterpolatorMap<Y, FY>

Readonly transform

transform: (y: Y) => FY

Type declaration

    • (y: Y): FY
    • Parameters

      • y: Y

      Returns FY

Methods

canEqual

  • canEqual(that: unknown): boolean
  • Parameters

    • that: unknown

    Returns boolean

equals

  • equals(that: unknown): boolean
  • Parameters

    • that: unknown

    Returns boolean

equivalentTo

  • equivalentTo(that: unknown, epsilon?: number): boolean
  • Parameters

    • that: unknown
    • Optional epsilon: number

    Returns boolean

interpolateTo

  • Parameters

    Returns Interpolator<Interpolator<FY>>

  • Parameters

    • that: unknown

    Returns null | Interpolator<Interpolator<FY>>

map

  • Type parameters

    • FY

    Parameters

    • transform: (y: FY) => FY
        • (y: FY): FY
        • Parameters

          • y: FY

          Returns FY

    Returns Interpolator<FY>

toString

  • toString(): string
  • Returns string

Generated using TypeDoc