public class UnmatchedEdgeExtracter
extends java.lang.Object
Constructor and Description |
---|
UnmatchedEdgeExtracter() |
Modifier and Type | Method and Description |
---|---|
void |
add(com.vividsolutions.jts.geom.Coordinate[] coord) |
void |
add(com.vividsolutions.jts.geom.Geometry geom) |
void |
add(com.vividsolutions.jts.geom.LineString line) |
void |
add(java.util.List coordArrays) |
void |
getDiffEdges(com.vividsolutions.jts.geom.Geometry geom,
java.util.List edgeList)
Compute a list of all subsequences of segments in the
LineString line which do not appear in the map.
|
void |
getUnmatchedEdges(com.vividsolutions.jts.geom.Geometry geom,
java.util.List edgeList)
Compute a list of all subsequences of segments in the
LineString line which appear in the line only once.
|
int |
getUnmatchedSequenceEnd(com.vividsolutions.jts.geom.Coordinate[] coord,
int start)
If no sequence matches, the value returned is equal to start
|
boolean |
isMatched(com.vividsolutions.jts.geom.LineSegment lineseg)
This function operates in two different modes depending on the value of isDiff.
|
static com.vividsolutions.jts.geom.LineString |
toLinestring(com.vividsolutions.jts.geom.LineSegment lineseg,
com.vividsolutions.jts.geom.GeometryFactory fact) |
public static com.vividsolutions.jts.geom.LineString toLinestring(com.vividsolutions.jts.geom.LineSegment lineseg, com.vividsolutions.jts.geom.GeometryFactory fact)
public void add(com.vividsolutions.jts.geom.Geometry geom)
public void add(com.vividsolutions.jts.geom.LineString line)
public void add(java.util.List coordArrays)
public void add(com.vividsolutions.jts.geom.Coordinate[] coord)
public boolean isMatched(com.vividsolutions.jts.geom.LineSegment lineseg)
lineseg
- public void getDiffEdges(com.vividsolutions.jts.geom.Geometry geom, java.util.List edgeList)
public void getUnmatchedEdges(com.vividsolutions.jts.geom.Geometry geom, java.util.List edgeList)
public int getUnmatchedSequenceEnd(com.vividsolutions.jts.geom.Coordinate[] coord, int start)