Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IdentityInterpolator<Y>

Type parameters

  • Y

Hierarchy

Callable

  • IdentityInterpolator(x: number): Y
  • Parameters

    • x: number

    Returns Y

Index

Properties

Readonly 0

0: Y

Readonly 1

1: Y

Readonly domain

domain: LinearDomain

Readonly range

Readonly value

value: Y

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<Y>>

  • Parameters

    • that: unknown

    Returns null | Interpolator<Interpolator<Y>>

map

  • Type parameters

    • FY

    Parameters

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

          • y: Y

          Returns FY

    Returns Interpolator<FY>

toString

  • toString(): string
  • Returns string

Generated using TypeDoc