예제 #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));
 }