Exemplo n.º 1
0
        public static void WriteMesh(String filePath, AbstractTriangleMesh lrTriangleMesh)
        {
            if (lrTriangleMesh.GetType() == typeof(LRTriangleMesh))
            {
                LRWriter lrWriter = new LRWriter((LRTriangleMesh)lrTriangleMesh);
                lrWriter.Execute(filePath);
                return;
            }

            throw new NotImplementedException("There is no writer for this type of mesh");
        }
Exemplo n.º 2
0
        public static void WriteMesh(String filePath, AbstractTriangleMesh lrTriangleMesh)
        {
            if (lrTriangleMesh.GetType() == typeof(LRTriangleMesh))
            {
                LRWriter lrWriter = new LRWriter((LRTriangleMesh)lrTriangleMesh);
                lrWriter.Execute(filePath);
                return;
            }

            throw new NotImplementedException("There is no writer for this type of mesh");
        }