Functions to read and write meshes from/to files. More...
Functions | |
bool | LoadMesh (Mesh *mesh, const char *filename) |
Loads a Mesh from File. The format is automatically recognized by the filname's suffix. Supported formats are: (ugx, vtu (ascii), obj, stl (ascii and binary), lgm, ng, ele, msh, asc, net, art). More... | |
bool | SaveMesh (Mesh *mesh, const char *filename) |
Saves a Mesh to File. The format is automatically recognized by the filname's suffix. Supported formats are: (ugx, vtu (ascii), obj, stl (ascii), ncdf, smesh, ele, tikz/tex, asc, net, art). More... | |
bool | ExportToUG3 (Mesh *mesh, const char *filenamePrefix, const char *lgmName, const char *problemName) |
Writes a mesh to the UG3 legacy format (.lgm and .ng) More... | |
Functions to read and write meshes from/to files.
bool ExportToUG3 | ( | Mesh * | mesh, |
const char * | filenamePrefix, | ||
const char * | lgmName, | ||
const char * | problemName | ||
) |
Writes a mesh to the UG3 legacy format (.lgm and .ng)
Loads a Mesh from File. The format is automatically recognized by the filname's suffix. Supported formats are: (ugx, vtu (ascii), obj, stl (ascii and binary), lgm, ng, ele, msh, asc, net, art).