CADability dotNET
Returns all neighbour nodes to the provided node. The result is sortet in a 2-dimensional array where the first index defines the side according to OctTree<(Of <(<'T>)>)>..::..Side.

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
protected OctTree<(Of <(<'T>)>)>..::..Node<T>[][] GetNeighbourNodes(
	OctTree<(Of <(<'T>)>)>..::..Node<T> node,
	OctTree<(Of <(<'T>)>)>..::..FilterNode filter
)
Visual Basic
Protected Function GetNeighbourNodes ( _
	node As OctTree<(Of <(<'T>)>)>..::..Node(Of T), _
	filter As OctTree<(Of <(<'T>)>)>..::..FilterNode _
) As OctTree<(Of <(<'T>)>)>..::..Node(Of T)()()
Visual C++
protected:
array<array<OctTree<(Of <(<'T>)>)>..::..Node<T>^>^>^ GetNeighbourNodes(
	OctTree<(Of <(<'T>)>)>..::..Node<T>^ node, 
	OctTree<(Of <(<'T>)>)>..::..FilterNode^ filter
)

Parameters

node
Type: CADability..::..OctTree<(Of <(<'T>)>)>..::..Node<(Of <(<'T>)>)>
The node which neighbours are requested
filter
Type: CADability..::..OctTree<(Of <(<'T>)>)>..::..FilterNode
A optinal filter or null if unfiltered

Return Value

The neighbour nodes

See Also