public static IMesh CreateCube(Box box, int u, int v, int w, Boolean weld, double tolerance)
        {
            ICube data = new ICube(box, u, v, w, weld, tolerance);
            IMesh mesh = data.BuildMesh();

            return(mesh);
        }
Example #2
0
        public static IMesh CreateCube(Plane pl, Interval x, Interval y, Interval z, int u, int v, int w, Boolean weld, double tolerance)
        {
            Box   box  = new Box(pl, x, y, z);
            ICube data = new ICube(box, u, v, w, weld, tolerance);
            IMesh mesh = data.BuildMesh();

            return(mesh);
        }