Package org.oscim.utils.geom
Class PolyLabel
java.lang.Object
org.oscim.utils.geom.PolyLabel
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PointFget(GeometryBuffer polygon) Returns pole of inaccessibility, the most distant internal point from the polygon outline.
-
Field Details
-
PRECISION
public static float PRECISIONCalculation precision.
-
-
Constructor Details
-
PolyLabel
public PolyLabel()
-
-
Method Details
-
get
Returns pole of inaccessibility, the most distant internal point from the polygon outline.- Parameters:
polygon- polygon geometry- Returns:
- optimal label placement point
-