Computes the global properties of bounded curves in 3D space. The curve must have at least a continuity C1. It can be a curve as defined in the template CurveTool from package GProp. This template gives the minimum of methods required to evaluate the global properties of a curve 3D with the algorithms of GProp.
More...
#include <BRepGProp_Cinert.hxx>
|
| BRepGProp_Cinert () |
|
| BRepGProp_Cinert (const BRepAdaptor_Curve &C, const gp_Pnt &CLocation) |
|
void | SetLocation (const gp_Pnt &CLocation) |
|
void | Perform (const BRepAdaptor_Curve &C) |
|
| 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 more accuracy it is better to define this point closed to the location of the system. For example it could be a point around the centre of mass of the system. This point is referred to as the reference point for this framework. For greater accuracy it is better for the reference point to be close to the location of the system. It can, for example, be a point near the center of mass of the system. At initialization, the framework is empty; i.e. it retains no dimensional information such as mass, or inertia. However, it is now able to bring together global properties of various other systems, whose global properties have already been computed using another framework. To do this, use the function Add to define the components of the system. Use it once per component of the system, and then use the interrogation functions available to access the computed values.
|
|
void | Add (const GProp_GProps &Item, const Standard_Real Density=1.0) |
| Either.
|
|
Standard_Real | Mass () const |
| Returns the mass of the current system. If no density is attached to the components of the current system the returned value corresponds to :
|
|
gp_Pnt | CentreOfMass () const |
| Returns the center of mass of the current system. If the gravitational field is uniform, it is the center of gravity. The coordinates returned for the center of mass are expressed in the absolute Cartesian coordinate system.
|
|
gp_Mat | MatrixOfInertia () const |
| returns the matrix of inertia. It is a symmetrical matrix. The coefficients of the matrix are the quadratic moments of inertia.
|
|
void | StaticMoments (Standard_Real &Ix, Standard_Real &Iy, Standard_Real &Iz) const |
| Returns Ix, Iy, Iz, the static moments of inertia of the current system; i.e. the moments of inertia about the three axes of the Cartesian coordinate system.
|
|
Standard_Real | MomentOfInertia (const gp_Ax1 &A) const |
| computes the moment of inertia of the material 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 is coincident with the center of mass of the system. The associated moments are called the principal moments of inertia. This function computes the eigen values and the eigen vectors of the matrix of inertia of the system. Results are stored by using a presentation framework of principal properties of inertia (GProp_PrincipalProps object) which may be queried to access the value sought.
|
|
Standard_Real | RadiusOfGyration (const gp_Ax1 &A) const |
| Returns the radius of gyration of the current system about the axis A.
|
|
Computes the global properties of bounded curves in 3D space. The curve must have at least a continuity C1. It can be a curve as defined in the template CurveTool from package GProp. This template gives the minimum of methods required to evaluate the global properties of a curve 3D with the algorithms of GProp.
◆ BRepGProp_Cinert() [1/2]
BRepGProp_Cinert::BRepGProp_Cinert |
( |
| ) |
|
◆ BRepGProp_Cinert() [2/2]
◆ Perform()
◆ SetLocation()
void BRepGProp_Cinert::SetLocation |
( |
const gp_Pnt & | CLocation | ) |
|
The documentation for this class was generated from the following file: