Пример #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");
        }
Пример #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");
        }