com.vividsolutions.jump.geom
Class SingleSegmentExpander
java.lang.Object
com.vividsolutions.jump.geom.SingleSegmentExpander
public class SingleSegmentExpander
- extends java.lang.Object
A heuristic used by Microscope to expand a single segment,
while maintaining its orientation.
|
Method Summary |
com.vividsolutions.jts.geom.Coordinate[] |
expandSegment(com.vividsolutions.jts.geom.LineSegment seg,
com.vividsolutions.jts.geom.Envelope env)
|
static com.vividsolutions.jts.geom.Envelope |
getInsetEnvelope(com.vividsolutions.jts.geom.Envelope env,
double insetPct)
|
boolean |
isApplicable(java.util.List segList,
java.util.List ptList)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleSegmentExpander
public SingleSegmentExpander()
getInsetEnvelope
public static com.vividsolutions.jts.geom.Envelope getInsetEnvelope(com.vividsolutions.jts.geom.Envelope env,
double insetPct)
isApplicable
public boolean isApplicable(java.util.List segList,
java.util.List ptList)
expandSegment
public com.vividsolutions.jts.geom.Coordinate[] expandSegment(com.vividsolutions.jts.geom.LineSegment seg,
com.vividsolutions.jts.geom.Envelope env)