Skip to content

raisim::Mesh::PreprocessResult ​

struct · #include <raisim/object/singleBodies/Mesh.hpp>

Result of preprocessMesh().

Public attributes ​

sourcePath ​

cpp
std::string sourcePath

Input mesh path.

outputPath ​

cpp
std::string outputPath

Path of the generated (or reused) OBJ file.

sourceHash ​

cpp
std::uint64_t sourceHash

Content hash of the input file (see computeFileHash()).

vertexCount ​

cpp
size_t vertexCount

Number of vertices in the output.

triangleCount ​

cpp
size_t triangleCount

Number of triangles in the output.

cacheHit ​

cpp
bool cacheHit

True if an existing cached OBJ was reused.

RaiSim — physics for robotics and AI.