public static bool IntersectsOrContains( this Plane3d plane, Box3d box, double eps) { var signs = box.GetIntersectionSignsWithPlane(plane, eps); return((signs != Signs.Negative && signs != Signs.Positive) || signs == Signs.Zero); }
public static bool Contains( this Plane3d plane, Box3d box, double eps) { var signs = box.GetIntersectionSignsWithPlane(plane, eps); return(signs == Signs.Zero); }