KdTreeTGetNearestNeighbours Method (Point3d, Int32) |
Gets the given number of nearest neighbours.
Namespace:
Gile.AutoCAD.R20.Geometry
Assembly:
GeometryExtensionsR20 (in GeometryExtensionsR20.dll) Version: 2.2.0.0 (2.2.0.0)
Syntaxpublic List<T> GetNearestNeighbours(
Point3d point,
int number
)
Public Function GetNearestNeighbours (
point As Point3d,
number As Integer
) As List(Of T)
public:
List<T>^ GetNearestNeighbours(
Point3d point,
int number
)
member GetNearestNeighbours :
point : Point3d *
number : int -> List<'T>
Parameters
- point
- Type: Point3d
The point from which search the nearest neighbours. - number
- Type: SystemInt32
The number of objects to collect.
Return Value
Type:
ListTThe n nearest neighbours of the specified point.
See Also