Esempio n. 1
0
 /// <summary>
 /// Check whether the specified other bounding box overlaps this one
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 public bool Overlaps(BoundingBox other)
 {
     return(Overlaps(other.MinX, other.MaxX, other.MinY, other.MaxY, other.MinZ, other.MaxZ));
 }
Esempio n. 2
0
 /// <summary>
 /// Initialise a bounding box as a copy of another
 /// </summary>
 /// <param name="other"></param>
 public BoundingBox(BoundingBox other)
     : this(other.MinX, other.MaxX, other.MinY, other.MaxY, other.MinZ, other.MaxZ)
 {
 }