|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.planargraph.NodeMap
A map of Node
s, indexed by the coordinate of the node.
Constructor Summary | |
NodeMap()
Constructs a NodeMap without any Nodes. |
Method Summary | |
Node |
add(Node n)
Adds a node to the map, replacing any that is already at that location. |
Node |
find(Coordinate coord)
Returns the Node at the given location, or null if no Node was there. |
java.util.Iterator |
iterator()
Returns an Iterator over the Nodes in this NodeMap, sorted in ascending order by angle with the positive x-axis. |
Node |
remove(Coordinate pt)
Removes the Node at the given location, and returns it (or null if no Node was there). |
java.util.Collection |
values()
Returns the Nodes in this NodeMap, sorted in ascending order by angle with the positive x-axis. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NodeMap()
Method Detail |
public Node add(Node n)
public Node remove(Coordinate pt)
public Node find(Coordinate coord)
public java.util.Iterator iterator()
public java.util.Collection values()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |