NetTopologySuite
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
NetTopologySuite.Planargraph.NodeMap Class Reference

A map of nodes, indexed by the coordinate of the node. More...

Public Member Functions

Node Add (Node n)
 Adds a node to the map, replacing any that is already at that location. More...
 
Node Remove (Coordinate pt)
 Removes the Node at the given location, and returns it (or null if no Node was there). More...
 
Node Find (Coordinate coord)
 Returns the Node at the given location, or null if no Node was there. More...
 
IEnumerator< NodeGetEnumerator ()
 Returns an Iterator over the Nodes in this NodeMap, sorted in ascending order by angle with the positive x-axis. More...
 

Properties

ICollection< NodeValues [get]
 Returns the Nodes in this NodeMap, sorted in ascending order by angle with the positive x-axis. More...
 
int Count [get]
 Returns the number of Nodes in this NodeMap. More...
 

Detailed Description

A map of nodes, indexed by the coordinate of the node.

Member Function Documentation

Node NetTopologySuite.Planargraph.NodeMap.Add ( Node  n)

Adds a node to the map, replacing any that is already at that location.

Parameters
n
Returns
The added node.
Node NetTopologySuite.Planargraph.NodeMap.Find ( Coordinate  coord)

Returns the Node at the given location, or null if no Node was there.

Parameters
coord
Returns
IEnumerator<Node> NetTopologySuite.Planargraph.NodeMap.GetEnumerator ( )

Returns an Iterator over the Nodes in this NodeMap, sorted in ascending order by angle with the positive x-axis.

Node NetTopologySuite.Planargraph.NodeMap.Remove ( Coordinate  pt)

Removes the Node at the given location, and returns it (or null if no Node was there).

Parameters
pt
Returns

Property Documentation

int NetTopologySuite.Planargraph.NodeMap.Count
get

Returns the number of Nodes in this NodeMap.

ICollection<Node> NetTopologySuite.Planargraph.NodeMap.Values
get

Returns the Nodes in this NodeMap, sorted in ascending order by angle with the positive x-axis.


The documentation for this class was generated from the following file: