// どこからも参照されていない /* * int GetConnectedNodeNum(DendriteNode parent) * { * int n = ConnectedNodes.Count(node => node != parent); * * return n; * } */ public double EuclideanDistanceTo(DendriteNode other) { return(this.EuclideanDistanceTo(other.CenterPoint())); }
// どこからも参照されていない /* int GetConnectedNodeNum(DendriteNode parent) { int n = ConnectedNodes.Count(node => node != parent); return n; } */ public double EuclideanDistanceTo(DendriteNode other) { return this.EuclideanDistanceTo(other.CenterPoint()); }