Template Function hpp::fcl::loadPolyhedronFromResource

Function Documentation

template<class BoundingVolume>
inline void hpp::fcl::loadPolyhedronFromResource(const std::string &resource_path, const fcl::Vec3f &scale, const shared_ptr<BVHModel<BoundingVolume>> &polyhedron)

Read a mesh file and convert it to a polyhedral mesh.

Parameters:
  • resource_path[in] Path to the ressource mesh file to be read

  • scale[in] Scale to apply when reading the ressource

  • polyhedron[out] The resulted polyhedron