Package org.locationtech.jts.algorithm
Class InteriorPoint
- java.lang.Object
-
- org.locationtech.jts.algorithm.InteriorPoint
-
public class InteriorPoint extends java.lang.Object
Computes an interior point of a
. 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.Geometry
The interior point of an empty geometry is
POINT EMPTY
.
-
-
Constructor Summary
Constructors Constructor Description InteriorPoint()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Point
getInteriorPoint(Geometry geom)
-