C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Solid, its properties and transformation matrices of solid duplicates. More...
#include <mip_solid_mass_inertia.h>
Public Member Functions | |
SolidMIAttire (const MbSolid &s, double d, const MbMatrix3D &m) | |
Constructor. More... | |
~SolidMIAttire () | |
Destructor. | |
Functions for access to data. | |
const MbSolid & | GetSolid () const |
A solid. | |
double | GetDensity () const |
A solid density. | |
const MbMatrix3D & | GetMatrix () const |
A transform matrix. | |
const InertiaProperties * | GetProperties () const |
Inertial properties of solid. | |
bool | IsReady () const |
Flag of already calculated properties. | |
Functions for changing data. | |
void | SetProperties (InertiaProperties &p) |
Set solid properties. | |
void | SetReady (bool r=true) |
Set flag of already calculated properties. | |
Functions for calculating data. | |
void | CalculateAdditiveValues (double deviateAngle, InertiaProperties &mp, IfProgressIndicator *progress=nullptr) const |
Calculation of additive solid properties. More... | |
Solid, its properties and transformation matrices of solid duplicates.
Solid, its properties and transformation matrices of solid duplicates.
SolidMIAttire::SolidMIAttire | ( | const MbSolid & | s, |
double | d, | ||
const MbMatrix3D & | m | ||
) |
Constructor.
Constructor of object with zero solid properties.
[in] | s | - A solid. |
[in] | d | - Density (s.IsClosed()) or mass per unit square (!s.IsClosed()). |
[in] | d | - Density. |
[in] | m | - A transform matrix. |
void SolidMIAttire::CalculateAdditiveValues | ( | double | deviateAngle, |
InertiaProperties & | mp, | ||
IfProgressIndicator * | progress = nullptr |
||
) | const |
Calculation of additive solid properties.
Calculation of additive solid properties.
[in] | deviateAngle | - Tolerance - the angular deviation of surface or curve in the neighboring points on the region of numerical integration. |
[out] | mp | - Inertial properties calculated with user-defined data. |
[in] | progress | - A run progress indicator. For termination of slow computations. |