Class SingleSegmentExpander


  • public class SingleSegmentExpander
    extends Object
    A heuristic used by Microscope to expand a single segment, while maintaining its orientation.
    • Constructor Detail

      • SingleSegmentExpander

        public SingleSegmentExpander()
    • Method Detail

      • getInsetEnvelope

        public static org.locationtech.jts.geom.Envelope getInsetEnvelope​(org.locationtech.jts.geom.Envelope env,
                                                                          double insetPct)
      • isApplicable

        public boolean isApplicable​(List segList,
                                    List ptList)
      • expandSegment

        public org.locationtech.jts.geom.Coordinate[] expandSegment​(org.locationtech.jts.geom.LineSegment seg,
                                                                    org.locationtech.jts.geom.Envelope env)