public class LineMatchGraph<T> extends Graph<LineSegmentMatch>
| Constructor and Description |
|---|
LineMatchGraph(GeometryFactory geometryFactory,
LineString line) |
LineMatchGraph(GeometryFactory geometryFactory,
T object,
LineString line) |
LineMatchGraph(LineString line) |
LineMatchGraph(T object,
LineString line) |
add, addEdge, addEdge, addEdge, addEdgeListener, clone, close, contains, createEdge, deleteEdges, evict, evict, findEdges, findEdges, findNode, findNodes, findNodes, findNodes, findNodes, findNodes, findNodesOfDegree, getClosestDistance, getEdge, getEdgeAttribute, getEdgeAttributes, getEdgeCount, getEdgeIds, getEdgeIds, getEdgeIndex, getEdgeLine, getEdgeLines, getEdgeObject, getEdges, getEdges, getEdges, getEdges, getEdges, getEdges, getEdges, getEdges, getEdges, getEdges, getEdges, getGeometryFactory, getGraph, getId, getMaxEdgesInMemory, getNode, getNode, getNodeAttribute, getNodeAttributes, getNodeIds, getNodeIndex, getNodes, getNodes, getNodes, getNodes, getNodes, getNodes, getNodes, getObjects, getPrecisionModel, getTypeName, hasEdge, hasEdgeBetween, merge, mergeEdges, moveNode, moveNodesToMidpoint, movePointsWithinTolerance, moveToMidpoint, nodeMoved, nodes, queryEdges, queryEdges, remove, remove, remove, remove, replaceEdge, replaceEdge, replaceEdge, setEdgeAttribute, setEdgeAttributes, setGeometryFactory, setMaxEdgesInMemory, setNodeAttribute, setNodeAttributes, setPrecisionModel, splitEdge, splitEdge, splitEdge, visitEdges, visitEdges, visitEdges, visitEdges, visitEdges, visitNodes, visitNodes, visitNodes, visitNodespublic LineMatchGraph(GeometryFactory geometryFactory, LineString line)
public LineMatchGraph(GeometryFactory geometryFactory, T object, LineString line)
public LineMatchGraph(LineString line)
public LineMatchGraph(T object, LineString line)
public boolean add(LineString line)
public boolean add(MultiLineString multiLine)
public boolean add(T object, MultiLineString multiLine)
public boolean addLine(T object, LineString line)
public boolean addLine(T object, MultiLineString line)
public boolean cleanOverlappingMatches()
public MultiLineString getCurrentMatchedLines()
public double getDuplicateMatchLength(Node<LineSegmentMatch> node, boolean direction, int index1, int index2)
public int getIndexCount()
public MultiLineString getMatchedLines(int index)
public MultiLineString getMatchedLines(int index1, int index2)
public List<LineString> getMatchedLinesList(int index1, int index2)
public double getMatchLength(Node<LineSegmentMatch> node, boolean direction, int index1, int index2)
public MultiLineString getNonMatchedLines(int index)
public MultiLineString getNonMatchedLines(int index1, int index2)
public T getObject(int index)
public MultiLineString getOverlappingMatches()
public Edge<LineSegmentMatch> getUnprocessedEdgeWithSegment(Node<LineSegmentMatch> node, int index, Set<Edge<LineSegmentMatch>> processedEdges)
public boolean hasMatch(Node<LineSegmentMatch> node, boolean direction, int index1, int index2)
public boolean hasMatchedLines(int index)
public boolean hasOverlappingMatches()
public boolean hasSegmentsWithIndex(Node<LineSegmentMatch> node, int index)
public boolean isFullyMatched(int index)
public List<Edge<LineSegmentMatch>> splitEdge(Edge<LineSegmentMatch> edge, Node<LineSegmentMatch> node)
splitEdge in class Graph<LineSegmentMatch>Copyright © 2015 Revolution Systems Inc.. All rights reserved.