public static bool Equals(Int32Size3D size1, Int32Size3D size2)
 {
     if (size1.X == size2.X && size1.Y == size2.Y)
     {
         return(size1.Z == size2.Z);
     }
     return(false);
 }
 public override bool Equals(object o)
 {
     if (o == null || !(o is Int32Size3D))
     {
         return(false);
     }
     return(Int32Size3D.Equals(this, (Int32Size3D)o));
 }
 public bool Equals(Int32Size3D value)
 {
     return(Int32Size3D.Equals(this, value));
 }
        private Int32Size3D GetOffset(Point3D position)
        {
            var ret = new Int32Size3D((int)(position.X / UnitSize), (int)(position.Y / UnitSize), (int)(position.Z / UnitSize));

            return(ret);
        }