maxY method

double maxY()

Gets the maximum Y ordinate. @return the maximum Y ordinate

Implementation

double maxY() {
  return math.max(p0.y, p1.y);
}