Class InteriorPointArea.SafeBisectorFinder

  • Enclosing class:
    InteriorPointArea

    private static class InteriorPointArea.SafeBisectorFinder
    extends java.lang.Object
    Finds a safe bisector Y ordinate by projecting to the Y axis and finding the Y-ordinate interval which contains the centre of the Y extent. The centre of this interval is returned as the bisector Y-ordinate.
    • Field Detail

      • centreY

        private double centreY
      • hiY

        private double hiY
      • loY

        private double loY
    • Constructor Detail

      • SafeBisectorFinder

        public SafeBisectorFinder​(Polygon poly)
    • Method Detail

      • getBisectorY

        public static double getBisectorY​(Polygon poly)
      • getBisectorY

        public double getBisectorY()
      • process

        private void process​(LineString line)
      • updateInterval

        private void updateInterval​(double y)