public interface IGraph
Modifier and Type | Method and Description |
---|---|
Set<IEdge> |
getEdges()
the edges of the graph
|
Set<IEdge> |
getEdgesConnectingNodes(INode node1,
INode node2)
Get all the edges connecting two nodes.
|
int |
getId()
the id of the graph
|
String |
getName()
the name of the graph
|
INode |
getNodeAt(IDirectPosition pt)
Get the node of the graph that is located at a given position.
|
Set<INode> |
getNodes()
the nodes of the graph
|
Set<GraphPath> |
getPaths()
the paths within the graph
|
boolean |
isOriented()
is the graph oriented ?
|
void |
setEdges(Set<IEdge> arcs) |
void |
setId(int id) |
void |
setName(String name) |
void |
setNodes(Set<INode> nodes) |
void |
setOriented(boolean oriented) |
void |
setPaths(Set<GraphPath> paths) |
int getId()
void setId(int id)
String getName()
void setName(String name)
boolean isOriented()
void setOriented(boolean oriented)
Set<IEdge> getEdgesConnectingNodes(INode node1, INode node2)
node1
- node2
- INode getNodeAt(IDirectPosition pt)
pt
- Copyright © 2016 Laboratoire COGIT, IGN. All rights reserved.