An Interface for the KD-Tree Nodes. Represents a Cell. More...
Public Member Functions | |
void | InsertPoint (ILabPoint point) |
Inserts a new Point into the Node. Propagates into the left or right child, if this is not a leaf node. | |
double[] | CalculateMean () |
Calculates the Mean of the Cells points. |
Properties | |
ITreeNode | LeftChild [get, set] |
Gets or sets the left child of the Node. | |
ITreeNode | RightChild [get, set] |
Gets or sets the right child of the Node. | |
double[] | Center [get, set] |
Gets the Center coordinate of the Cell. | |
double[] | Left [get, set] |
Gets the Left coordinate of the Cell. | |
double[] | Right [get, set] |
Gets the right coordinate of the Cell. | |
SplittingPlaneType | PlaneType [get, set] |
Gets the SplittingPlaneType of the Cell. | |
int | Weight [get] |
Gets the number of points in this node. |
An Interface for the KD-Tree Nodes. Represents a Cell.
double [] VisWpf.Clustering.KdTree.Nodes.ITreeNode.CalculateMean | ( | ) |
Calculates the Mean of the Cells points.
Implemented in VisWpf.Clustering.KdTree.Nodes.TreeNode, VisWpf.Clustering.KdTree.Nodes.WeightedPointNode, and VisWpf.Clustering.KdTree.Nodes.PointNode.
void VisWpf.Clustering.KdTree.Nodes.ITreeNode.InsertPoint | ( | ILabPoint | point | ) |
Inserts a new Point into the Node. Propagates into the left or right child, if this is not a leaf node.
point | The point to insert |
Implemented in VisWpf.Clustering.KdTree.Nodes.TreeNode.
|
getset |
Gets the Center coordinate of the Cell.
Implemented in VisWpf.Clustering.KdTree.Nodes.TreeNode.
|
getset |
Gets the Left coordinate of the Cell.
Implemented in VisWpf.Clustering.KdTree.Nodes.TreeNode.
|
getset |
Gets or sets the left child of the Node.
Implemented in VisWpf.Clustering.KdTree.Nodes.TreeNode.
|
getset |
Gets the SplittingPlaneType of the Cell.
Implemented in VisWpf.Clustering.KdTree.Nodes.TreeNode.
|
getset |
Gets the right coordinate of the Cell.
Implemented in VisWpf.Clustering.KdTree.Nodes.TreeNode.
|
getset |
Gets or sets the right child of the Node.
Implemented in VisWpf.Clustering.KdTree.Nodes.TreeNode.
|
get |
Gets the number of points in this node.
Implemented in VisWpf.Clustering.KdTree.Nodes.TreeNode, VisWpf.Clustering.KdTree.Nodes.WeightedPointNode, and VisWpf.Clustering.KdTree.Nodes.PointNode.