C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Assembly. More...
#include <mip_solid_mass_inertia.h>
Public Member Functions | |
AssemblyMIAttire (RPArray< AssemblyMIAttire > &a, RPArray< SolidMIAttire > &s, const MbMatrix3D &m=MbMatrix3D::identity) | |
Constructor. More... | |
~AssemblyMIAttire () | |
Destructor. | |
Functions for access to data. | |
const RPArray< AssemblyMIAttire > & | GetAssemblies () const |
A set of subassemblies. | |
const RPArray< SolidMIAttire > & | GetSolids () const |
A set of solids. | |
const MbMatrix3D & | GetMatrix () const |
A transform matrix. | |
const InertiaProperties * | GetProperties () const |
Inertial properties. | |
bool | IsReady () const |
Properties already calculated. | |
size_t | GetFacesCount () const |
Calculate faces count. | |
Functions for changing data. | |
void | SetProperties (InertiaProperties &p) |
Set inertial properties. | |
void | SetReady (bool r=true) |
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... | |
Assembly.
Assembly, its subassembly, solids and properties.
AssemblyMIAttire::AssemblyMIAttire | ( | RPArray< AssemblyMIAttire > & | a, |
RPArray< SolidMIAttire > & | s, | ||
const MbMatrix3D & | m = MbMatrix3D::identity |
||
) |
Constructor.
Constructor of object with zero solid properties.
Arrays data are moved to arrays of class and will be deleted at destruction.
[in] | a | - A set of subassemblies. |
[in] | s | - A set of solids. |
[in] | m | - A transform matrix. |
void AssemblyMIAttire::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. |