Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ContinuousScale<X, Y>

Type parameters

  • X

  • Y

Hierarchy

  • Scale<X, Y>
    • ContinuousScale

Callable

  • ContinuousScale(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

clampDomain

  • clampDomain(xMin: undefined | X, xMax: undefined | X, zMin: undefined | number, zMax: undefined | number, epsilon?: number): ContinuousScale<X, Y>
  • Parameters

    • xMin: undefined | X
    • xMax: undefined | X
    • zMin: undefined | number
    • zMax: undefined | number
    • Optional epsilon: number

    Returns ContinuousScale<X, Y>

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

  • Parameters

    Returns ContinuousScale<X, Y>

  • Parameters

    • y0: Y
    • y1: Y

    Returns ContinuousScale<X, Y>

solveDomain

  • solveDomain(x1: X, y1: Y, x2?: X, y2?: Y, reflect?: boolean, epsilon?: number): ContinuousScale<X, Y>
  • Parameters

    • x1: X
    • y1: Y
    • Optional x2: X
    • Optional y2: Y
    • Optional reflect: boolean
    • Optional epsilon: number

    Returns ContinuousScale<X, Y>

toString

  • toString(): string
  • Returns string

withDomain

  • Parameters

    Returns ContinuousScale<X, Y>

  • Parameters

    • x0: X
    • x1: X

    Returns ContinuousScale<X, Y>

Generated using TypeDoc