CADability dotNET
Returns all neighbours 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 T[][] GetNeighbours(
	OctTree<(Of <(<'T>)>)>..::..Node<T> node,
	OctTree<(Of <(<'T>)>)>..::..Filter filter
)
Visual Basic
Protected Function GetNeighbours ( _
	node As OctTree<(Of <(<'T>)>)>..::..Node(Of T), _
	filter As OctTree<(Of <(<'T>)>)>..::..Filter _
) As T()()
Visual C++
protected:
array<array<T>^>^ GetNeighbours(
	OctTree<(Of <(<'T>)>)>..::..Node<T>^ node, 
	OctTree<(Of <(<'T>)>)>..::..Filter^ filter
)

Parameters

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

Return Value

The neighbours

See Also