getX method

double getX()

Retrieves the value of the X ordinate.

@return the value of the X ordinate

Implementation

double getX() {
  return x;
}