Beispiel #1
0
 public CoordinateDifference Offset(Coordinate targetVoxel)
 {
     return(new CoordinateDifference((sbyte)(targetVoxel.X - this.X), (sbyte)(targetVoxel.Y - this.Y), (sbyte)(targetVoxel.Z - this.Z)));
 }
Beispiel #2
0
 public int Mlen(Coordinate b)
 {
     return(Math.Abs(X - b.X) + Math.Abs(Y - b.Y) + Math.Abs(Z - b.Z));
 }