Ejemplo n.º 1
0
 /// <summary>
 /// Shortest distance from box to sphere
 /// </summary>
 public double DistanceTo(Box3d box)
 {
     return(box.DistanceTo(this));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Get intersection of segment with box.
 /// Returns 'null' (no intersection) or object of type 'Point3d' or 'Segment3d'.
 /// </summary>
 public object IntersectionWith(Box3d b)
 {
     return(b.IntersectionWith(this));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Check intersection of triangle with box
 /// </summary>
 public bool Intersects(Box3d box)
 {
     return(box.Intersects(this));
 }