Coordinate constructor

Coordinate([
  1. double x = 0,
  2. double y = 0
])

Implementation

Coordinate([double x = 0, double y = 0])
{
  this.x = x;
  this.y = y;
}