Class Vector

A two-dimensional vector class with functions useful for working with (x, y) coordinates.

Hierarchy

  • Vector

Constructors

Properties

x: number = 0
y: number = 0

Accessors

Methods

  • Parameters

    • xLow: number
    • xHigh: number
    • yLow: number
    • yHigh: number

    Returns Vector

  • Parameters

    • x: number
    • y: number
    • width: number
    • height: number

    Returns boolean

  • Parameters

    • xLow: number
    • xHigh: number
    • yLow: number
    • yHigh: number

    Returns Vector

Generated using TypeDoc