Click or drag to resize
Accord.NET (logo)

KDTreeBaseTNodeNearest Method (Double)

Retrieves the nearest point to a given point.

Namespace:  Accord.Collections
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public TNode Nearest(
	double[] position
)
Request Example View Source

Parameters

position
Type: SystemDouble
The queried point.

Return Value

Type: TNode
A list of neighbor points, ordered by distance.
See Also