Click or drag to resize

KdTreeT Class

Provides methods to organize locatable objects in a Kd tree structure to speed up the search of neighbours. The 'dimension' parameter indicates if the resulting Kd tree is a 3d tree or a 2d tree. Use dimension = 2 if all objects in the input collection lie on a plane parallel to XY or if the objects have to be considered as projected on the XY plane.
Inheritance Hierarchy
SystemObject
  Gile.AutoCAD.R20.GeometryKdTreeT
    Gile.AutoCAD.R20.GeometryPoint3dTree

Namespace:  Gile.AutoCAD.R20.Geometry
Assembly:  GeometryExtensionsR20 (in GeometryExtensionsR20.dll) Version: 2.2.0.0 (2.2.0.0)
Syntax
public class KdTree<T>

Type Parameters

T
Type of the source items.

The KdTreeT type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyRoot
Gets the root node of the tree.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBoxedRange
Gets the objects in a range.
Public methodGetHashCode (Inherited from Object.)
Public methodGetNearestNeighbour
Gets the nearest neighbour.
Public methodGetNearestNeighbours(Point3d, Double)
Gets the neighbours within the specified distance.
Public methodGetNearestNeighbours(Point3d, Int32)
Gets the given number of nearest neighbours.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also