/**
 * A small helper class that represents a point.
 */ export class Point { private $x : number ; private $y : number ; get x ( ) : number { return this . $x ; } get y ( ) : number { return this . $y ; } constructor ( x , y ) { this . $x = x || 0 ; this . $y = y || 0 ; } toString ( ) { return `${ this . x },${ this . y }` ; } }