KDTreeNodeBaseTNode Class |
Namespace: Accord.Collections
[SerializableAttribute] public class KDTreeNodeBase<TNode> : BinaryNode<TNode>, IComparable<TNode>, IEquatable<TNode> where TNode : KDTreeNodeBase<TNode>
The KDTreeNodeBaseTNode type exposes the following members.
Name | Description | |
---|---|---|
KDTreeNodeBaseTNode | Initializes a new instance of the KDTreeNodeBaseTNode class |
Name | Description | |
---|---|---|
Axis | ||
Children |
Gets or sets the collection of child nodes
under this node.
(Inherited from BinaryNodeTNode.) | |
IsLeaf |
Gets whether this node is a leaf (has no children).
(Inherited from BinaryNodeTNode.) | |
Left |
Gets or sets the left subtree of this node.
(Inherited from BinaryNodeTNode.) | |
Position |
Gets or sets the position of
the node in spatial coordinates.
| |
Right |
Gets or sets the right subtree of this node.
(Inherited from BinaryNodeTNode.) |
Name | Description | |
---|---|---|
CompareTo |
Compares the current object with another object of the same type.
| |
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Equals(TNode) |
Indicates whether the current object is equal to another object of the same type.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
Returns a String that represents this instance.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
To(Type) | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) | |
ToT | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) |