|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vividsolutions.jts.planargraph.PlanarGraph sim.util.geo.GeomPlanarGraph
public class GeomPlanarGraph
A JTS PlanarGraph Planar graph useful for exploiting network topology.
and sim.app.geo.campusworld
Field Summary |
---|
Fields inherited from class com.vividsolutions.jts.planargraph.PlanarGraph |
---|
dirEdges, edges, nodeMap |
Constructor Summary | |
---|---|
GeomPlanarGraph()
|
Method Summary | |
---|---|
void |
createFromGeomField(GeomVectorField field)
populate network with lines from a GeomVectorField |
sim.field.network.Network |
getNetwork()
Create a MASON Network from this planar graph XXX Unfortunately we need this since JTS planar graphs do not support shortest distance and other common graph traversals. |
Methods inherited from class com.vividsolutions.jts.planargraph.PlanarGraph |
---|
add, add, add, contains, contains, dirEdgeIterator, edgeIterator, findNode, findNodesOfDegree, getEdges, getNodes, nodeIterator, remove, remove, remove |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeomPlanarGraph()
Method Detail |
---|
public void createFromGeomField(GeomVectorField field)
field
- containing line segments
Assumes that 'field' contains co-planar linear objectspublic sim.field.network.Network getNetwork()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |