com.vividsolutions.jump.geom
Class MicroscopePointAdjuster

java.lang.Object
  extended by com.vividsolutions.jump.geom.MicroscopePointAdjuster

public class MicroscopePointAdjuster
extends java.lang.Object

A MicroscopePointAdjuster takes some line segments and an envelope, and adjusts the points of the line segments within the envelope so that small differences are visible. Points will not be moved outside the envelope.


Constructor Summary
MicroscopePointAdjuster(java.util.List segList, com.vividsolutions.jts.geom.Envelope env, double minSep)
           
 
Method Summary
 java.util.List adjustSegments()
          Return a list of adjusted Segments.
 java.util.Map getAdjustedPointMap()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MicroscopePointAdjuster

public MicroscopePointAdjuster(java.util.List segList,
                               com.vividsolutions.jts.geom.Envelope env,
                               double minSep)
Method Detail

getAdjustedPointMap

public java.util.Map getAdjustedPointMap()

adjustSegments

public java.util.List adjustSegments()
Return a list of adjusted Segments. Probably for testing only.