/// <summary> /// Shortest distance from box to sphere /// </summary> public double DistanceTo(Box3d box) { return(box.DistanceTo(this)); }
/// <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)); }
/// <summary> /// Check intersection of triangle with box /// </summary> public bool Intersects(Box3d box) { return(box.Intersects(this)); }