Class PolyLabel

java.lang.Object
org.oscim.utils.geom.PolyLabel

public class PolyLabel extends Object
  • Field Details

    • PRECISION

      public static float PRECISION
      Calculation precision.
  • Constructor Details

    • PolyLabel

      public PolyLabel()
  • Method Details

    • get

      public static PointF get(GeometryBuffer polygon)
      Returns pole of inaccessibility, the most distant internal point from the polygon outline.
      Parameters:
      polygon - polygon geometry
      Returns:
      optimal label placement point