Click or drag to resize
Accord.NET (logo)

KDTreeBaseTNodeCopyTo Method

Copies the entire tree to a compatible one-dimensional Array, starting at the specified arrayIndex of the array.

Namespace:  Accord.Collections
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public void CopyTo(
	TNode[] array,
	int arrayIndex
)
Request Example View Source

Parameters

array
Type: TNode
The one-dimensional Array that is the destination of the elements copied from tree. The Array must have zero-based indexing.
arrayIndex
Type: SystemInt32
The zero-based index in array at which copying begins.
See Also