public void ExpandThisNode() { DSTNode topSubNode = new DSTNode(Color.magenta); //topSubNode.parent = parent; parent.Swap(this, topSubNode); GizmoColor = Color.red; topSubNode.AddNode(this); topSubNode.AddNode(new DSTNode(Color.green)); topSubNode.AddNode(new DSTNode(Color.blue)); topSubNode.KMeanSplit(); topSubNode.Resize(); }