getY method

double getY()

Retrieves the value of the Y ordinate.

@return the value of the Y ordinate

Implementation

double getY() {
  return y;
}