template<class MeshType>
class drake::geometry::ObbMaker< MeshType >
ObbMaker performs an algorithm to create an oriented bounding box that fits a specified set of vertices in a mesh.
- Template Parameters
-
#include <drake/geometry/proximity/obb.h>
|
| | ObbMaker (const MeshType &mesh_M, const std::set< int > &vertices) |
| | Specifies the input mesh with frame M and a set of vertices to fit.
|
| Obb | Compute () const |
| | Computes the bounding volume of the vertices specified in the constructor.
|
◆ ObbMaker()
template<class MeshType>
| ObbMaker |
( |
const MeshType & | mesh_M, |
|
|
const std::set< int > & | vertices ) |
Specifies the input mesh with frame M and a set of vertices to fit.
- Parameters
-
| mesh_M | The mesh that owns the vertices expressed in frame M. |
| vertices | The vertices to fit. |
- Precondition
- vertices is not empty, and each of its entry is in the range [0, V), where V is mesh_M.num_vertices().
◆ Compute()
Computes the bounding volume of the vertices specified in the constructor.
- Return values
-
| obb_M | The oriented bounding box posed in frame M. |
◆ ObbMakerTester< MeshType >
The documentation for this class was generated from the following file:
- drake/geometry/proximity/obb.h