コード例 #1
0
 public bool InRadius(Pos3DR other)
 {
     return(Distance(other) <= r);
 }
コード例 #2
0
 public double Distance(Pos3DR other)
 {
     return(Abs(x - other.x) + Abs(y - other.y) + Abs(z - other.z));
 }