getInteriorPoint method

Point getInteriorPoint()

Computes an interior point of this Geometry. An interior point is guaranteed to lie in the interior of the Geometry, if it possible to calculate such a point exactly. Otherwise, the point may lie on the boundary of the geometry.

The interior point of an empty geometry is POINT EMPTY.

@return a {@link Point} which is in the interior of this Geometry

Implementation

Point getInteriorPoint() {
  throw UnimplementedError("not implemented yet");
//    if (isEmpty()) return factory.createPoint();
//    Coordinate pt = InteriorPoint.getInteriorPoint(this);
//    return createPointFromInternalCoord(pt, this);
}