| Constructor and Description |
|---|
RecordGraph() |
RecordGraph(Collection<? extends Record> objects) |
| Modifier and Type | Method and Description |
|---|---|
Edge<Record> |
addEdge(Record object) |
List<Edge<Record>> |
addEdges(Collection<? extends Record> objects) |
protected Record |
clone(Record object,
LineString line)
Clone the object, setting the line property to the new value.
|
Edge<Record> |
getEdge(Record record) |
static <T extends Geometry> |
getEdgeFilter(Filter<T> geometryFilter) |
LineString |
getEdgeLine(int edgeId) |
Node<Record> |
getNode(Point point)
Get the node by point coordinates, creating one if it did not exist.
|
List<Record> |
getObjects(Collection<Integer> edgeIds) |
String |
getTypeName(Edge<Record> edge)
Get the type name for the edge.
|
boolean |
hasEdge(Record object) |
Edge<Record> |
merge(Node<Record> node,
Edge<Record> edge1,
Edge<Record> edge2)
Merge the two edges at the node.
|
List<Edge<Record>> |
splitEdges(Point point,
double distance) |
add, addEdge, addEdge, addEdge, addEdgeListener, close, contains, createEdge, deleteEdges, evict, evict, findEdges, findEdges, findNode, findNodes, findNodes, findNodes, findNodes, findNodes, findNodesOfDegree, getClosestDistance, getEdge, getEdgeAttribute, getEdgeAttributes, getEdgeCount, getEdgeIds, getEdgeIds, getEdgeIndex, getEdgeLines, getEdgeObject, getEdges, getEdges, getEdges, getEdges, getEdges, getEdges, getEdges, getEdges, getEdges, getEdges, getEdges, getGeometryFactory, getGraph, getId, getMaxEdgesInMemory, getNode, getNodeAttribute, getNodeAttributes, getNodeIds, getNodeIndex, getNodes, getNodes, getNodes, getNodes, getNodes, getNodes, getNodes, getObjects, getPrecisionModel, hasEdge, hasEdgeBetween, 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, splitEdge, visitEdges, visitEdges, visitEdges, visitEdges, visitEdges, visitNodes, visitNodes, visitNodes, visitNodespublic RecordGraph()
public RecordGraph(Collection<? extends Record> objects)
public static <T extends Geometry> Filter<Edge<Record>> getEdgeFilter(Filter<T> geometryFilter)
public List<Edge<Record>> addEdges(Collection<? extends Record> objects)
protected Record clone(Record object, LineString line)
public LineString getEdgeLine(int edgeId)
getEdgeLine in class Graph<Record>public Node<Record> getNode(Point point)
Graphpublic List<Record> getObjects(Collection<Integer> edgeIds)
public String getTypeName(Edge<Record> edge)
getTypeName in class Graph<Record>edge - The edge.public boolean hasEdge(Record object)
public Edge<Record> merge(Node<Record> node, Edge<Record> edge1, Edge<Record> edge2)
GraphCopyright © 2015 Revolution Systems Inc.. All rights reserved.