Grasshopper API
Node3dTNearestItems Method (T, Int32) |
Find the N nearest items.
Namespace: Grasshopper.Kernel.Geometry.SpatialTrees
Assembly: Grasshopper (in Grasshopper.dll)

public List<Index3d<T>> NearestItems( T locus, int groupSize )
Public Function NearestItems ( locus As T, groupSize As Integer ) As List(Of Index3d(Of T))
Parameters
- locus
- Type: T
Search locus. - groupSize
- Type: SystemInt32
Number of nearest items to return.
Return Value
Type: ListIndex3dTA list of nearest items, sorted from nearest to furthest.
