Represents a standard Tree Node. More...
Public Member Functions | |
TreeNode () | |
Tree Node basic constructor. | |
abstract double[] | CalculateMean () |
Computes and returns the Mean Coordinate of this node. |
Protected Member Functions | |
void | InsertPoint (ILabPoint point) |
Inserts a Point into the cell. This method propagates the insertion process to the child node, if this is no leaf node. |
Protected Attributes | |
List< ILabPoint > | points = new List<ILabPoint>() |
Properties | |
ITreeNode | LeftChild [get, set] |
Gets or sets the LeftChild node of tis node. | |
ITreeNode | RightChild [get, set] |
Gets or sets the RightChild node of this node. | |
SplittingPlaneType | PlaneType [get, set] |
Gets or sets the SplittingPlane Type of this node. | |
double[] | Center [get, set] |
Gets or sets the Center coordinate of the Cell. | |
double[] | Left [get, set] |
Gets or sets the Left coordinate of the Cell. | |
double[] | Right [get, set] |
Gets or sets the Right coordinate of the Cell. | |
abstract int | Weight [get] |
Returns the Weight of this node. | |
![]() |
Represents a standard Tree Node.
VisWpf.Clustering.KdTree.Nodes.TreeNode.TreeNode | ( | ) |
Tree Node basic constructor.
|
pure virtual |
Computes and returns the Mean Coordinate of this node.
Implements VisWpf.Clustering.KdTree.Nodes.ITreeNode.
Implemented in VisWpf.Clustering.KdTree.Nodes.WeightedPointNode, and VisWpf.Clustering.KdTree.Nodes.PointNode.
|
protected |
Inserts a Point into the cell. This method propagates the insertion process to the child node, if this is no leaf node.
point | The ILabPoint to insert |
Implements VisWpf.Clustering.KdTree.Nodes.ITreeNode.
|
getset |
Gets or sets the Center coordinate of the Cell.
Implements VisWpf.Clustering.KdTree.Nodes.ITreeNode.
|
getset |
Gets or sets the Left coordinate of the Cell.
Implements VisWpf.Clustering.KdTree.Nodes.ITreeNode.
|
getset |
Gets or sets the LeftChild node of tis node.
Implements VisWpf.Clustering.KdTree.Nodes.ITreeNode.
|
getset |
Gets or sets the SplittingPlane Type of this node.
Implements VisWpf.Clustering.KdTree.Nodes.ITreeNode.
|
getset |
Gets or sets the Right coordinate of the Cell.
Implements VisWpf.Clustering.KdTree.Nodes.ITreeNode.
|
getset |
Gets or sets the RightChild node of this node.
Implements VisWpf.Clustering.KdTree.Nodes.ITreeNode.
|
get |
Returns the Weight of this node.
Implements VisWpf.Clustering.KdTree.Nodes.ITreeNode.
Reimplemented in VisWpf.Clustering.KdTree.Nodes.WeightedPointNode, and VisWpf.Clustering.KdTree.Nodes.PointNode.