示例#1
0
        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);
        }
示例#2
0
        public static bool Contains(
            this Plane3d plane, Box3d box, double eps)
        {
            var signs = box.GetIntersectionSignsWithPlane(plane, eps);

            return(signs == Signs.Zero);
        }