|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.graph.structure.opt.OptGraphable
org.geotools.graph.structure.opt.OptDirectedNode
org.geotools.graph.structure.line.OptDirectedXYNode
public class OptDirectedXYNode
Optimized implementation of XYNode extended from OptDirectedNode. Instead of storing an underlying coordinate object, only a set of (x,y) values are stored eliminating the storage of additional oordinate dimensions.
OptDirectedNode
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from class org.geotools.graph.structure.opt.OptDirectedNode |
---|
OptDirectedNode.RelatedIterator |
Constructor Summary | |
---|---|
OptDirectedXYNode()
|
Method Summary | |
---|---|
com.vividsolutions.jts.geom.Coordinate |
getCoordinate()
This method creates a new Coordinate object upon each call. |
void |
setCoordinate(com.vividsolutions.jts.geom.Coordinate c)
This method strips only the x and y ordinates from the Coordinate object and stores them. |
Methods inherited from class org.geotools.graph.structure.opt.OptDirectedNode |
---|
add, addIn, addOut, getDegree, getEdge, getEdges, getEdges, getInDegree, getInEdge, getInEdgeArray, getInEdges, getInEdges, getInRelated, getOutDegree, getOutEdge, getOutEdgeArray, getOutEdges, getOutEdges, getOutRelated, getRelated, remove, removeIn, removeOut, setInDegree, setOutDegree |
Methods inherited from class org.geotools.graph.structure.opt.OptGraphable |
---|
getCount, getID, getObject, isVisited, setCount, setID, setObject, setVisited |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.geotools.graph.structure.Node |
---|
add, getDegree, getEdge, getEdges, getEdges, remove |
Methods inherited from interface org.geotools.graph.structure.Graphable |
---|
getCount, getID, getObject, getRelated, isVisited, setCount, setID, setObject, setVisited |
Constructor Detail |
---|
public OptDirectedXYNode()
Method Detail |
---|
public com.vividsolutions.jts.geom.Coordinate getCoordinate()
getCoordinate
in interface XYNode
XYNode.getCoordinate()
public void setCoordinate(com.vividsolutions.jts.geom.Coordinate c)
setCoordinate
in interface XYNode
c
- A coordinate.XYNode.setCoordinate(Coordinate)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |