Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Point

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

x

x: number

y

y: number

Methods

copy

distance

  • distance(p: Point): number
  • Parameters

    Returns number

distanceSq

  • distanceSq(p: Point): number
  • Parameters

    Returns number

lerp

rotate

  • Parameters

    • a: number

    Returns Point

  • Parameters

    Returns Point

scale

  • Parameters

    • s: number

    Returns Point

  • Parameters

    Returns Point

translate

  • translate(x: number, y: number): Point
  • Parameters

    • x: number
    • y: number

    Returns Point