/// <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)); }
/// <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) { }