Computes the global properties of bounded curves in 3D space. Supports elementary curves from the gp package: Lin, Circ, Elips, Parab.
More...
#include <GProp_CelGProps.hxx>
|
| | GProp_CelGProps () |
| | GProp_CelGProps (const gp_Circ &C, const gp_Pnt &CLocation) |
| | GProp_CelGProps (const gp_Circ &C, const double U1, const double U2, const gp_Pnt &CLocation) |
| | GProp_CelGProps (const gp_Lin &C, const double U1, const double U2, const gp_Pnt &CLocation) |
| void | SetLocation (const gp_Pnt &CLocation) |
| void | Perform (const gp_Circ &C, const double U1, const double U2) |
| void | Perform (const gp_Lin &C, const double U1, const double U2) |
| | GProp_GProps () |
| | The origin (0, 0, 0) of the absolute Cartesian coordinate system is used to compute the global properties.
|
| | GProp_GProps (const gp_Pnt &SystemLocation) |
| | The point SystemLocation is used to compute the global properties of the system. For greater accuracy, define this point close to the location of the system; for example a point near the centre of mass of the system.
|
| void | Add (const GProp_GProps &Item, const double Density=1.0) |
| | Either:
|
| double | Mass () const |
| | Returns the mass of the current system.
|
| gp_Pnt | CentreOfMass () const |
| | Returns the centre of mass of the current system. With a uniform gravitational field this is also the centre of gravity. The coordinates returned for the centre of mass are expressed in the absolute Cartesian coordinate system.
|
| gp_Mat | MatrixOfInertia () const |
| | Returns the matrix of inertia. It is a symmetric matrix whose coefficients are the quadratic moments of inertia:
|
| void | StaticMoments (double &Ix, double &Iy, double &Iz) const |
| | Returns the static moments of inertia of the current system - i.e. the moments of inertia about the three axes of the absolute Cartesian coordinate system.
|
| double | MomentOfInertia (const gp_Ax1 &A) const |
| | Computes the moment of inertia of the system about the axis A.
|
| GProp_PrincipalProps | PrincipalProperties () const |
| | Computes the principal properties of inertia of the current system. There is always a set of axes for which the products of inertia of a geometric system are equal to 0 - i.e. the matrix of inertia of the system is diagonal. These axes are the principal axes of inertia; their origin coincides with the centre of mass of the system. The associated moments are called the principal moments of inertia.
|
| double | RadiusOfGyration (const gp_Ax1 &A) const |
| | Returns the radius of gyration of the current system about the axis A.
|
|
| gp_Pnt | g |
| | Centre of mass (absolute frame)
|
| gp_Pnt | loc |
| | Reference point used for inertia accumulation.
|
| double | dim |
| | Total mass / length / area / volume.
|
| gp_Mat | inertia |
| | Quadratic moments of inertia matrix.
|
Computes the global properties of bounded curves in 3D space. Supports elementary curves from the gp package: Lin, Circ, Elips, Parab.
◆ GProp_CelGProps() [1/4]
| GProp_CelGProps::GProp_CelGProps |
( |
| ) |
|
◆ GProp_CelGProps() [2/4]
| GProp_CelGProps::GProp_CelGProps |
( |
const gp_Circ & | C, |
|
|
const gp_Pnt & | CLocation ) |
◆ GProp_CelGProps() [3/4]
| GProp_CelGProps::GProp_CelGProps |
( |
const gp_Circ & | C, |
|
|
const double | U1, |
|
|
const double | U2, |
|
|
const gp_Pnt & | CLocation ) |
◆ GProp_CelGProps() [4/4]
| GProp_CelGProps::GProp_CelGProps |
( |
const gp_Lin & | C, |
|
|
const double | U1, |
|
|
const double | U2, |
|
|
const gp_Pnt & | CLocation ) |
◆ Perform() [1/2]
| void GProp_CelGProps::Perform |
( |
const gp_Circ & | C, |
|
|
const double | U1, |
|
|
const double | U2 ) |
◆ Perform() [2/2]
| void GProp_CelGProps::Perform |
( |
const gp_Lin & | C, |
|
|
const double | U1, |
|
|
const double | U2 ) |
◆ SetLocation()
| void GProp_CelGProps::SetLocation |
( |
const gp_Pnt & | CLocation | ) |
|
The documentation for this class was generated from the following file: