public class TopologyStretcher
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
TopologyStretcher.VertexInMaskCountCoordinateFilter |
Modifier and Type | Field and Description |
---|---|
private Geometry[] |
inputGeoms |
private java.util.List |
linestrings |
private java.util.List[] |
modifiedCoords |
private double |
stretchDistance |
Constructor and Description |
---|
TopologyStretcher(Geometry g) |
TopologyStretcher(Geometry g1,
Geometry g2) |
Modifier and Type | Method and Description |
---|---|
private java.util.List |
extractLineStrings(Geometry[] geom,
Envelope mask) |
private java.util.Map |
getCoordinateMoves(java.util.List nearVerts) |
java.util.List[] |
getModifiedCoordinates()
Gets the
Coordinate 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) |
private double stretchDistance
private Geometry[] inputGeoms
private java.util.List linestrings
private java.util.List[] modifiedCoords
public TopologyStretcher(Geometry g)
public int numVerticesInMask(Envelope mask)
public Geometry[] stretch(double nearnessTol, double stretchDistance)
public java.util.List[] getModifiedCoordinates()
Coordinate
s in each stretched geometry which were modified (if any).private java.util.Map getCoordinateMoves(java.util.List nearVerts)