com.vividsolutions.jump.geom
Class SingleSegmentExpander

java.lang.Object
  extended by 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.


Constructor Summary
SingleSegmentExpander()
           
 
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleSegmentExpander

public SingleSegmentExpander()
Method Detail

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)