midPoint method

Coordinate midPoint()

Computes the midpoint of the segment

@return the midpoint of the segment

Implementation

Coordinate midPoint() {
  return midPointCoords(p0, p1);
}