Retrieves the value of the Y ordinate.
@return the value of the Y ordinate
double getY() { return y; }