public void RectangularCuboid_BoxifyVisitor_IsCorrect()
        {
            var start  = new Vector3(1, 2, 3);
            var cuboid = new RectangularCuboid(start, 5, 4, 3);
            var box    = cuboid.TryAcceptVisitor <RectangularCuboid>(new BoxifyVisitor());

            AssertCuboidsEqual(cuboid, box);
        }
        public void RectangularCuboid_BoundingBoxVisitor_IsCorrect(
            double x, double y, double z,
            double length = 4, double width = 7, double height = 5)
        {
            var cuboid = new RectangularCuboid(new Vector3(x, y, z), length, width, height);
            var box    = cuboid.TryAcceptVisitor <RectangularCuboid>(new BoundingBoxVisitor());

            AssertCuboidsEqual(cuboid, box);
        }