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