interface Coords {
    x: number;
    y: number;
    z: number;
    add(otherPoint): Point;
    ceil(): Point;
    clone(): Point;
    contains(otherPoint): boolean;
    distanceTo(otherPoint): number;
    divideBy(num): Point;
    equals(otherPoint): boolean;
    floor(): Point;
    multiplyBy(num): Point;
    round(): Point;
    scaleBy(scale): Point;
    subtract(otherPoint): Point;
    toString(): string;
    trunc(): Point;
    unscaleBy(scale): Point;
}

Hierarchy

Properties

x: number
y: number
z: number

Methods

  • Parameters

    Returns Point

  • Returns Point

  • Returns Point

  • Parameters

    Returns boolean

  • Parameters

    Returns number

  • Parameters

    • num: number

    Returns Point

  • Parameters

    Returns boolean

  • Returns Point

  • Parameters

    • num: number

    Returns Point

  • Returns Point

  • Parameters

    Returns Point

  • Parameters

    Returns Point

  • Returns string

  • Returns Point

Generated using TypeDoc