Class MicroscopePointAdjuster

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

public class MicroscopePointAdjuster extends 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 Details

    • MicroscopePointAdjuster

      public MicroscopePointAdjuster(List<org.locationtech.jts.geom.LineSegment> segList, org.locationtech.jts.geom.Envelope env, double minSep)
  • Method Details

    • getAdjustedPointMap

      public Map<org.locationtech.jts.geom.Coordinate, org.locationtech.jts.geom.Coordinate> getAdjustedPointMap()
    • adjustSegments

      public List<org.locationtech.jts.geom.LineSegment> adjustSegments()
      Return a list of adjusted Segments. Probably for testing only.
      Returns:
      a list of adjusted segments