getCenter method

Mappoint getCenter()

Returns the center point of this rectangle.

Implementation

Mappoint getCenter() {
  return Mappoint(getCenterX(), getCenterY());
}