Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Scale<X, Y>

Type parameters

  • X

  • Y

Hierarchy

Callable

  • Scale(x: X): Y
  • Parameters

    • x: X

    Returns Y

Index

Properties

Readonly domain

domain: Domain<X>

Readonly inverse

inverse: Mapping<Y, X>

Readonly range

range: Range<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

overRange

  • overRange(range: Range<Y>): Scale<X, Y>
  • overRange(y0: Y, y1: Y): Scale<X, Y>
  • Parameters

    Returns Scale<X, Y>

  • Parameters

    • y0: Y
    • y1: Y

    Returns Scale<X, Y>

toString

  • toString(): string
  • Returns string

withDomain

  • withDomain(domain: Domain<X>): Scale<X, Y>
  • withDomain(x0: X, x1: X): Scale<X, Y>
  • Parameters

    Returns Scale<X, Y>

  • Parameters

    • x0: X
    • x1: X

    Returns Scale<X, Y>

Generated using TypeDoc