Input/Output
MeshProcessing.readoff
— Functionmesh = readoff(filename[, typ=Float64])
Read (possibly gzipped) OFF file and construct mesh.
See also writeoff
MeshProcessing.writeoff
— MethodMeshProcessing.loadmesh
— Methodmesh::TriMesh, mobj = loadmesh(filename[, typ=Float64])
Load triangle mesh
from file, e.g., in OFF format using FileIO
and GeometryBasics
mobj
is the mesh as defined by GeometryBasics
and can be used for rendering. coordinates(mobj)
and faces(mobj)
provide Vector
s of vertex positions and triangle indices, respectively.
See also readoff