SPH
|
Simple text format containing mesh vertices and triangle indices. More...
#include <MeshFile.h>
Public Member Functions | |
TabFile (const Float lengthUnit=1.e3_f) | |
virtual Outcome | save (const Path &path, ArrayView< const Triangle > triangles) override |
virtual Expected< Array< Triangle > > | load (const Path &path) override |
![]() | |
virtual | ~Polymorphic () |
Simple text format containing mesh vertices and triangle indices.
Used for example by Gaskell Itokawa Shape Model (https://sbn.psi.edu/pds/resource/itokawashape.html).
Definition at line 33 of file MeshFile.h.
|
explicit |
lengthUnit | Conversion factor from the loaded values to meters. |
Definition at line 138 of file MeshFile.cpp.
Implements IMeshFile.
Definition at line 147 of file MeshFile.cpp.
Implements IMeshFile.
Definition at line 141 of file MeshFile.cpp.