NetTopologySuite
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
NetTopologySuite.GeometriesGraph.Node Class Reference

More...

Inheritance diagram for NetTopologySuite.GeometriesGraph.Node:
NetTopologySuite.GeometriesGraph.GraphComponent NetTopologySuite.Operation.Relate.RelateNode

Public Member Functions

 Node (Coordinate coord, EdgeEndStar edges)
 
override void ComputeIM (IntersectionMatrix im)
 Basic nodes do not compute IMs. More...
 
void Add (EdgeEnd e)
 Add the edge to the list of edges at this node. More...
 
void MergeLabel (Node n)
 
void MergeLabel (Label label2)
 To merge labels for two nodes, the merged location for each LabelElement is computed. The location for the corresponding node LabelElement is set to the result, as long as the location is non-null. More...
 
void SetLabel (int argIndex, Location onLocation)
 
void SetLabelBoundary (int argIndex)
 Updates the label of a node to BOUNDARY, obeying the mod-2 boundaryDetermination rule. More...
 
Location ComputeMergedLocation (Label label2, int eltIndex)
 The location for a given eltIndex for a node will be one of { Null, Interior, Boundary }. A node may be on both the boundary and the interior of a point; in this case, the rule is that the node is considered to be in the boundary. The merged location is the maximum of the two input values. More...
 
void Write (TextWriter outstream)
 
override string ToString ()
 
- Public Member Functions inherited from NetTopologySuite.GeometriesGraph.GraphComponent
void UpdateIM (IntersectionMatrix im)
 Update the IM with the contribution for this component. A component only contributes if it has a labelling for both parent geometries. More...
 

Properties

override Coordinate Coordinate [get, protected set]
 
EdgeEndStar Edges [get, protected set]
 
override bool IsIsolated [get]
 
- Properties inherited from NetTopologySuite.GeometriesGraph.GraphComponent
Label Label [get, set]
 
bool InResult [get, set]
 
bool IsInResult [get]
 IsInResult indicates if this component has already been included in the result. More...
 
bool Covered [get, set]
 
bool IsCovered [get]
 
bool IsCoveredSet [get]
 
bool Visited [get, set]
 
bool IsVisited [get]
 
abstract Coordinate Coordinate [get, protected set]
 
abstract bool IsIsolated [get]
 An isolated component is one that does not intersect or touch any other component. This is the case if the label has valid locations for only a single Geometry. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NetTopologySuite.GeometriesGraph.GraphComponent
 GraphComponent ()
 
 GraphComponent (Label label)
 

Detailed Description

Constructor & Destructor Documentation

NetTopologySuite.GeometriesGraph.Node.Node ( Coordinate  coord,
EdgeEndStar  edges 
)

Parameters
coord
edges

Member Function Documentation

void NetTopologySuite.GeometriesGraph.Node.Add ( EdgeEnd  e)

Add the edge to the list of edges at this node.

Parameters
e
override void NetTopologySuite.GeometriesGraph.Node.ComputeIM ( IntersectionMatrix  im)
virtual

Basic nodes do not compute IMs.

Parameters
im

Implements NetTopologySuite.GeometriesGraph.GraphComponent.

Reimplemented in NetTopologySuite.Operation.Relate.RelateNode.

Location NetTopologySuite.GeometriesGraph.Node.ComputeMergedLocation ( Label  label2,
int  eltIndex 
)

The location for a given eltIndex for a node will be one of { Null, Interior, Boundary }. A node may be on both the boundary and the interior of a point; in this case, the rule is that the node is considered to be in the boundary. The merged location is the maximum of the two input values.

Parameters
label2
eltIndex
void NetTopologySuite.GeometriesGraph.Node.MergeLabel ( Node  n)

Parameters
n
void NetTopologySuite.GeometriesGraph.Node.MergeLabel ( Label  label2)

To merge labels for two nodes, the merged location for each LabelElement is computed. The location for the corresponding node LabelElement is set to the result, as long as the location is non-null.

Parameters
label2
void NetTopologySuite.GeometriesGraph.Node.SetLabel ( int  argIndex,
Location  onLocation 
)

Parameters
argIndex
onLocation
void NetTopologySuite.GeometriesGraph.Node.SetLabelBoundary ( int  argIndex)

Updates the label of a node to BOUNDARY, obeying the mod-2 boundaryDetermination rule.

Parameters
argIndex
override string NetTopologySuite.GeometriesGraph.Node.ToString ( )

Returns
void NetTopologySuite.GeometriesGraph.Node.Write ( TextWriter  outstream)

Parameters
outstream

Property Documentation

override Coordinate NetTopologySuite.GeometriesGraph.Node.Coordinate
getprotected set

EdgeEndStar NetTopologySuite.GeometriesGraph.Node.Edges
getprotected set

override bool NetTopologySuite.GeometriesGraph.Node.IsIsolated
get


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