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<T> 
   where T : IPosition2d

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