Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Point

Class who represent a geometric point in 2 dimensions.

author

Nicolas GILLE nic.gille@gmail.com

since

0.4.0

version

1.0

license

MIT

Hierarchy

  • Point

Index

Constructors

Properties

Constructors

constructor

  • new Point(x: number, y: number): Point
  • Constructor of a 2 dimensions point.

    constructor
    since

    0.4.0

    version

    1.0

    Parameters

    • x: number

      Coordinate x of the point.

    • y: number

      Coordinate y of the point.

    Returns Point

Properties

x

x: number

Coordinate of the abscissa.

since

0.4.0

version

1.0

y

y: number

Coordinate of the ordinate.

since

0.4.0

version

1.0

Generated using TypeDoc