Class SingleSegmentExpander

java.lang.Object
com.vividsolutions.jump.geom.SingleSegmentExpander

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

    • SingleSegmentExpander

      public SingleSegmentExpander()
  • Method Details

    • getInsetEnvelope

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

      public boolean isApplicable(List<org.locationtech.jts.geom.LineSegment> segList, List<org.locationtech.jts.geom.Coordinate> ptList)
    • expandSegment

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