Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LinearScale

Hierarchy

Callable

  • LinearScale(x: number): number
  • Parameters

    • x: number

    Returns number

Index

Properties

Readonly domain

domain: LinearDomain

Readonly inverse

inverse: LinearScale

Readonly range

Methods

canEqual

  • canEqual(that: unknown): boolean
  • Parameters

    • that: unknown

    Returns boolean

clampDomain

  • clampDomain(xMin: undefined | number, xMax: undefined | number, zMin: undefined | number, zMax: undefined | number, epsilon?: number): LinearScale
  • Parameters

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

    Returns LinearScale

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

  • Parameters

    • that: unknown

    Returns null | Interpolator<LinearScale>

overRange

  • Parameters

    Returns LinearScale

  • Parameters

    • y0: number
    • y1: number

    Returns LinearScale

solveDomain

  • solveDomain(x1: number, y1: number, x2?: number, y2?: number, reflect?: boolean, epsilon?: number): LinearScale
  • Parameters

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

    Returns LinearScale

toString

  • toString(): string
  • Returns string

withDomain

  • Parameters

    Returns LinearScale

  • Parameters

    • x0: number
    • x1: number

    Returns LinearScale

Generated using TypeDoc