#include <BodyDistribution.h>
Wrapper class for a rigid body model used in the body distribution.
Each BodyModel contains a RigidBody template that is used to create new RigidBodies inside a simulation.
- Note
- See Simulation::createRigidBodyFromBodyModel for how to manually create new RigidBodies from a BodyModel.
◆ getBodyTemplate()
| std::shared_ptr< RigidBody > MOMENTUM_NAMESPACE::BodyModel::getBodyTemplate |
( |
| ) |
const |
◆ getName()
| std::string MOMENTUM_NAMESPACE::BodyModel::getName |
( |
| ) |
const |
- Returns
- the name of the body model.
◆ Simulation