Example #1
0
 public bool Touches(BBox bbox)
 {
     return(min.x <= bbox.max.x && bbox.min.x <= max.x && min.y <= bbox.max.y && bbox.min.y <= max.y && min.z <= bbox.max.z && bbox.min.z <= max.z);
 }
Example #2
0
 public bool Contains(BBox bbox)
 {
     return(min.x <= bbox.min.x && bbox.max.x <= max.x && min.y <= bbox.min.y && bbox.max.y <= max.y && min.z <= bbox.min.z && bbox.max.z <= max.z);
 }