Class SingleSegmentExpander
java.lang.Object
com.vividsolutions.jump.geom.SingleSegmentExpander
A heuristic used by Microscope to expand a single segment,
while maintaining its orientation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.locationtech.jts.geom.Coordinate[]expandSegment(org.locationtech.jts.geom.LineSegment seg, org.locationtech.jts.geom.Envelope env) static org.locationtech.jts.geom.EnvelopegetInsetEnvelope(org.locationtech.jts.geom.Envelope env, double insetPct) booleanisApplicable(List<org.locationtech.jts.geom.LineSegment> segList, List<org.locationtech.jts.geom.Coordinate> ptList)
-
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
-
expandSegment
public org.locationtech.jts.geom.Coordinate[] expandSegment(org.locationtech.jts.geom.LineSegment seg, org.locationtech.jts.geom.Envelope env)
-