| java.lang.Object com.vividsolutions.jump.qa.diff.UnmatchedEdgeExtracter
UnmatchedEdgeExtracter | public class UnmatchedEdgeExtracter (Code) | | |
Method Summary | |
public void | add(Geometry geom) | public void | add(LineString line) | public void | add(List coordArrays) | public void | add(Coordinate[] coord) | public void | getDiffEdges(Geometry geom, List edgeList) Compute a list of all subsequences of segments in the
LineString line which do not appear in the map. | public void | getUnmatchedEdges(Geometry geom, List edgeList) Compute a list of all subsequences of segments in the
LineString line which appear in the line only once. | public int | getUnmatchedSequenceEnd(Coordinate[] coord, int start) | public boolean | isMatched(LineSegment lineseg) This function operates in two different modes depending on the value of isDiff. | public static LineString | toLinestring(LineSegment lineseg, GeometryFactory fact) |
UnmatchedEdgeExtracter | public UnmatchedEdgeExtracter()(Code) | | |
add | public void add(Geometry geom)(Code) | | |
add | public void add(LineString line)(Code) | | |
add | public void add(Coordinate[] coord)(Code) | | |
getDiffEdges | public void getDiffEdges(Geometry geom, List edgeList)(Code) | | Compute a list of all subsequences of segments in the
LineString line which do not appear in the map.
|
getUnmatchedEdges | public void getUnmatchedEdges(Geometry geom, List edgeList)(Code) | | Compute a list of all subsequences of segments in the
LineString line which appear in the line only once.
|
getUnmatchedSequenceEnd | public int getUnmatchedSequenceEnd(Coordinate[] coord, int start)(Code) | | If no sequence matches, the value returned is equal to start
|
isMatched | public boolean isMatched(LineSegment lineseg)(Code) | | This function operates in two different modes depending on the value of isDiff.
If isDiff is true, the function returns true if the lineseg is present
at all in the map.
Is isDiff is false, the function returns true if the lineseg appears more than once
in the map.
Parameters: lineseg - true if the lineseg has a match |
toLinestring | public static LineString toLinestring(LineSegment lineseg, GeometryFactory fact)(Code) | | |
|
|