Struct Mesh
Defined in File geometry_wrappers.hpp
Struct Documentation
-
struct Mesh
Temporary wrapper struct to represent a triangle mesh geometry loaded from a file.
Public Functions
-
inline Mesh(const std::filesystem::path &filename, const Eigen::Vector3d &scale = Eigen::Vector3d::Ones())
Construct a Mesh object wrapper by loading from a mesh file (e.g. STL, OBJ, DAE).
- Parameters:
filename – Path to the mesh file to load.
scale – Per-axis scale factors applied to the loaded mesh. Defaults to (1, 1, 1).
Construct a Mesh object wrapper from a pre-loaded Coal BVH model.
Public Members
-
std::shared_ptr<hpp::fcl::BVHModelBase> geom_ptr
The underlying Coal BVH mesh geometry.
-
inline Mesh(const std::filesystem::path &filename, const Eigen::Vector3d &scale = Eigen::Vector3d::Ones())