#include <CustomInertiaCalcProperties.hh>
◆ CustomInertiaCalcProperties() [1/2]
sdf::SDF_VERSION_NAMESPACE::CustomInertiaCalcProperties::CustomInertiaCalcProperties |
( |
| ) |
|
◆ CustomInertiaCalcProperties() [2/2]
sdf::SDF_VERSION_NAMESPACE::CustomInertiaCalcProperties::CustomInertiaCalcProperties |
( |
const double |
_density, |
|
|
const sdf::Mesh |
_mesh, |
|
|
const sdf::ElementPtr |
_calculatorParams |
|
) |
| |
Constructor with mesh properties.
- Parameters
-
[in] | _density | Double density value |
[in] | _mesh | sdf::Mesh object |
[in] | _calculatorParams | sdf::ElementPtr for calculator params element |
◆ AutoInertiaParams()
const sdf::ElementPtr sdf::SDF_VERSION_NAMESPACE::CustomInertiaCalcProperties::AutoInertiaParams |
( |
| ) |
const |
Get the reference to the <auto_inertia_params> sdf element.
User defined calculator params can be accessed through this element
- Returns
- sdf::ElementPtr for the tag
◆ Density()
double sdf::SDF_VERSION_NAMESPACE::CustomInertiaCalcProperties::Density |
( |
| ) |
const |
Get the density of the mesh.
- Returns
- Double density of the mesh.
◆ Mesh()
const std::optional< sdf::Mesh > & sdf::SDF_VERSION_NAMESPACE::CustomInertiaCalcProperties::Mesh |
( |
| ) |
const |
Get the reference to the mesh oject being used.
- Returns
- Reference to the sdf::Mesh object.
◆ SetAutoInertiaParams()
void sdf::SDF_VERSION_NAMESPACE::CustomInertiaCalcProperties::SetAutoInertiaParams |
( |
sdf::ElementPtr |
_autoInertiaParamsElem | ) |
|
Function to set the calculator params sdf element object.
- Parameters
-
◆ SetDensity()
void sdf::SDF_VERSION_NAMESPACE::CustomInertiaCalcProperties::SetDensity |
( |
double |
_density | ) |
|
Function to set the density of the interface object.
- Parameters
-
[in] | _density | Double density value |
◆ SetMesh()
void sdf::SDF_VERSION_NAMESPACE::CustomInertiaCalcProperties::SetMesh |
( |
sdf::Mesh & |
_mesh | ) |
|
Function to set the mesh object.
- Parameters
-
The documentation for this class was generated from the following file: