Class TopologyStretcher
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.topostretch.TopologyStretcher
-
public class TopologyStretcher extends Object
Stretches the vertices and segments of a @link Geometry} to make the topology more visible.- Author:
- Martin Davis
-
-
Constructor Summary
Constructors Constructor Description TopologyStretcher(Geometry g)
TopologyStretcher(Geometry g1, Geometry g2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List[]
getModifiedCoordinates()
Gets theCoordinate
s in each stretched geometry which were modified (if any).int
numVerticesInMask(Envelope mask)
Geometry[]
stretch(double nearnessTol, double stretchDistance)
Geometry[]
stretch(double nearnessTol, double stretchDistance, Envelope mask)
-
-
-
Method Detail
-
numVerticesInMask
public int numVerticesInMask(Envelope mask)
-
stretch
public Geometry[] stretch(double nearnessTol, double stretchDistance)
-
getModifiedCoordinates
public List[] getModifiedCoordinates()
Gets theCoordinate
s in each stretched geometry which were modified (if any).- Returns:
- lists of Coordinates, one for each input geometry
-
-