##

SimbodyMesh Class Reference
Physics » Simbody Physics

Triangle mesh collision helper class. More...

`#include <SimbodyMesh.hh>`

## Public Member Functions

| SimbodyMesh ()
| Constructor. More...
virtual | ~SimbodyMesh ()
| Destructor. More...
void | Init (const common::Mesh *_mesh, SimbodyCollisionPtr _collision, const ignition::math::Vector3d &_scale)
| Create a mesh collision shape using a mesh. More...
void | Init (const common::SubMesh *_subMesh, SimbodyCollisionPtr _collision, const ignition::math::Vector3d &_scale)
| Create a mesh collision shape using a submesh. More...

## Detailed Description

Triangle mesh collision helper class.

## Constructor & Destructor Documentation

## SimbodyMesh()

SimbodyMesh | ( |  | ) |

Constructor.

## ~SimbodyMesh()

virtual ~SimbodyMesh | ( |  | ) |

virtual

Destructor.

## Member Function Documentation

## Init() [1/2]

void Init | ( | const common::Mesh * | _mesh,
|  | SimbodyCollisionPtr | _collision,
|  | const ignition::math::Vector3d & | _scale
| ) |  |

Create a mesh collision shape using a mesh.

Parameters

  [in] | _mesh | Pointer to the mesh.
  [in] | _collision | Pointer to the collision object.
  [in] | _scale | Scaling factor.

## Init() [2/2]

void Init | ( | const common::SubMesh * | _subMesh,
|  | SimbodyCollisionPtr | _collision,
|  | const ignition::math::Vector3d & | _scale
| ) |  |

Create a mesh collision shape using a submesh.

Parameters

  [in] | _subMesh | Pointer to the submesh.
  [in] | _collision | Pointer to the collision object.
  [in] | _scale | Scaling factor.

The documentation for this class was generated from the following file:

- SimbodyMesh.hh