/// <summary> /// Closest point on box (including interior points). /// </summary> public Point3d ClosestPoint(Box3d box) { return(box.ClosestPoint(this)); }
/// <summary> /// Distance from box to point (zero will be returned for point located inside box) /// </summary> public double DistanceTo(Box3d box) { return(box.ClosestPoint(this).DistanceTo(this)); }