KDTree2d<T> Class

The KDTree2d class is a 2d variant of a general KD tree. This data structure is used too rapidly find points in the plane who resides in a given bounding box.
Public Class KDTree2d(Of  _ 
T As IPosition2d)
This language is not supported or no code example is available.
public class KDTree2d<T> 
where T : IPosition2d
This language is not supported or no code example is available.
generic<typename T> 
where T : IPosition2d
public ref class KDTree2d
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Type Parameters

T

Name Description
Public property Count Gets the number of objects in the tree.
Top
Methods
 
Name Description
Public method Clear() Removes all objects from this kd tree.
Public method GetRange(Extents2d) This is a convenience overload for the GetRange(double,double,double,double,ref) method.
Public method GetRange(double, double, double, double, ref List<T>) Appends all objects that is inside a given rectangle to a list.
Public method Insert(T) Adds an object that implements the IPosition2d interface to the KDTree.
Top
IGS.Genamo.KDTree2d<T>

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition