SPTreeNode Class |
Namespace: Accord.Collections
The SPTreeNode type exposes the following members.
Name | Description | |
---|---|---|
SPTreeNode |
Initializes a new instance of the SPTreeNode class.
|
Name | Description | |
---|---|---|
CenterOfMass |
Gets the center of mass of this node.
| |
Children |
Gets or sets the collection of child nodes
under this node.
(Inherited from TreeNodeTNode.) | |
Index |
Gets or sets the index of this node in the
collection of children nodes of its parent.
(Inherited from TreeNodeTNode.) | |
IsEmpty |
Gets whether this node is empty and does
not contain any points or children.
| |
IsLeaf |
Gets whether this node is a leaf (has no children).
(Inherited from TreeNodeTNode.) | |
Next |
Gets the next sibling of this node (the node
immediately next to it in its parent's collection).
(Inherited from TreeNodeTNode.) | |
Parent |
Gets or sets the parent of this node.
(Inherited from TreeNodeTNode.) | |
Position |
Gets the position associated with this node.
| |
Previous |
Gets the previous sibling of this node.
(Inherited from TreeNodeTNode.) | |
Region |
Gets or sets the space region delimited by this node.
| |
Value |
Gets or sets the value associated with this node.
|
Name | Description | |
---|---|---|
Add |
Inserts a point in the Space-Partitioning tree.
| |
ComputeNonEdgeForces |
Compute non-edge forces using Barnes-Hut algorithm.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetDepth |
Gets the current depth of this node (distance from the root).
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsCorrect |
Checks whether the current tree is correct.
| |
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.) |