public class GraphPath extends Object
Constructor and Description |
---|
GraphPath(double length,
List<IEdge> arcList,
List<INode> nodeList,
IGraph graph) |
Modifier and Type | Method and Description |
---|---|
List<IEdge> |
getArcs() |
INode |
getFinalNode()
Get the final node of the path.
|
int |
getId() |
INode |
getInitialNode()
Get the initial node of the path.
|
double |
getLength() |
List<INode> |
getNodes() |
ILineString |
getPathGeometry() |
GraphPath |
reverse() |
void |
setArcs(List<IEdge> arcs) |
void |
setId(int id) |
void |
setLength(double length) |
void |
setNodes(List<INode> nodes) |
public double getLength()
public void setLength(double length)
public int getId()
public void setId(int id)
public INode getInitialNode()
public INode getFinalNode()
public ILineString getPathGeometry()
public GraphPath reverse()
Copyright © 2016 Laboratoire COGIT, IGN. All rights reserved.