| 
            
              VPTreeBaseTPoint, TNodeNearest Method (TPoint, Int32, ListNodeDistanceTNode)
             | 
          
        
         
               Retrieves a fixed point of nearest points to a given point.
             
 
    Namespace: 
   Accord.Collections
    Assembly:
   Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntaxpublic List<NodeDistance<TNode>> Nearest(
	TPoint position,
	int neighbors,
	List<NodeDistance<TNode>> results
)
Public Function Nearest ( 
	position As TPoint,
	neighbors As Integer,
	results As List(Of NodeDistance(Of TNode))
) As List(Of NodeDistance(Of TNode))
 Request Example
		View SourceParameters
- position
 - Type: TPoint
The queried point. - neighbors
 - Type: SystemInt32
The number of neighbors to retrieve. - results
 - Type: System.Collections.GenericListNodeDistanceTNode
The list where to store results. 
Return Value
Type: 
ListNodeDistanceTNodeA list of neighbor points, ordered by distance.
See Also