export class PointF2D { public x : number = 0 ; public y : number = 0 ; constructor ( x = 0 , y = 0 ) { this . x = x ; this . y = y ; } public static get Empty ( ) : PointF2D { return new PointF2D ( ) ; } public static pointsAreEqual ( p1 , p2 ) { return ( p1 . x === p2 . x && p1 . y === p2 . y ) ; } public ToString ( ) { return "[" + this . x + ", " + this . y + "]" ; } }