Adds an undirected edge from one node to another.
Namespace: Spherical.NodesAssembly: SphericalLib (in SphericalLib.dll) Version: 1.0.5951.32246 (1.0.0.0)
Syntax
C# |
---|
public void AddEdge( Node<T> n1, Node<T> n2 ) |
Visual C++ |
---|
public: void AddEdge( Node<T>^ n1, Node<T>^ n2 ) |
F# |
---|
member AddEdge : n1:Node<'T> * n2:Node<'T> -> unit |
Parameters
- n1
- Type: Spherical.Nodes..::..Node<(Of <(<'T>)>)>
One of the nodes that is joined by the edge.
- n2
- Type: Spherical.Nodes..::..Node<(Of <(<'T>)>)>
One of the nodes that is joined by the edge.