getX method

double getX()

Implementation

double getX() {
  return x;
}