Package cz.fidentis.analyst.data.mesh
Interface MeshIO
public interface MeshIO
Reading and writing mesh models from/to files.
Currently, only
.OBJ
files are supported.-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic void
exportMeshModel
(MeshModel model, File exportFile) Exports all facets of the model to .obj filestatic MeshModel
readMeshModel
(File file) Reads mesh model from a file.
-
Method Details
-
readMeshModel
Reads mesh model from a file.- Parameters:
file
- File containing face to load into a MeshModel- Returns:
- A mesh model
- Throws:
IOException
- There was problem with reading the file
-
exportMeshModel
Exports all facets of the model to .obj file- Parameters:
model
- Model to be exported. Must not benull
exportFile
- File to which model is exported- Throws:
IOException
-