Constructor and Description |
---|
RelativeNeighbourhoodGraph(String name,
boolean oriented) |
RelativeNeighbourhoodGraph(String name,
boolean oriented,
Set<IFeature> features) |
Modifier and Type | Method and Description |
---|---|
void |
buildRNGraph(Set<IFeature> features)
Literal implementation of the relative neighbourhood graph computation, it
is not efficient at all.
|
void |
buildRNGraph2(Set<IFeature> features)
Same as buildRNGraph but the graph is built according to the real geometry
of the features and not just the distances between nodes.
|
void |
buildRNGraphFromTriangulation(ITriangulation triGraph)
Builds a RN graph from a previously computed Delaunay Triangulation.
|
boolean |
rngBuildEdge1(IDirectPosition node1,
IDirectPosition node2,
IFeatureCollection<IFeature> nodeFeats)
return true if there is no other node inside the circles centred on the two
nodes and with a radius equal to the distance between the two nodes
|
boolean |
rngBuildEdge2(Node node1,
Node node2,
IFeatureCollection<IFeature> nodeFeats)
return true if there is no other node inside the circles centred on the two
nodes and with a radius equal to the distance between the two nodes
|
computeCentralities, computeDijkstraShortestPath, cutInConnexParts, equals, getEdgeFromGeoObj, getEdges, getEdgesConnectingNodes, getId, getName, getNodeAt, getNodeFromGeoObj, getNodes, getPaths, hashCode, isOriented, nodeEdgeRatio, setEdges, setId, setName, setNodes, setOriented, setPaths, toString
public RelativeNeighbourhoodGraph(String name, boolean oriented)
public void buildRNGraph(Set<IFeature> features)
features
- public void buildRNGraph2(Set<IFeature> features)
features
- public boolean rngBuildEdge1(IDirectPosition node1, IDirectPosition node2, IFeatureCollection<IFeature> nodeFeats)
coord1
- coord2
- public boolean rngBuildEdge2(Node node1, Node node2, IFeatureCollection<IFeature> nodeFeats)
coord1
- coord2
- public void buildRNGraphFromTriangulation(ITriangulation triGraph)
triGraph
- Copyright © 2016 Laboratoire COGIT, IGN. All rights reserved.