![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Computes the global properties of a geometric solid (3D closed region of space) delimited with : More...
#include <BRepGProp_VinertGK.hxx>

Public Member Functions | |
| BRepGProp_VinertGK () | |
| Empty constructor. | |
| BRepGProp_VinertGK (BRepGProp_Face &theSurface, const gp_Pnt &theLocation, const double theTolerance=0.001, const bool theCGFlag=false, const bool theIFlag=false) | |
| Constructor. Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the point VLocation. | |
| BRepGProp_VinertGK (BRepGProp_Face &theSurface, const gp_Pnt &thePoint, const gp_Pnt &theLocation, const double theTolerance=0.001, const bool theCGFlag=false, const bool theIFlag=false) | |
| Constructor. Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the point VLocation. The inertia is computed with respect to thePoint. | |
| BRepGProp_VinertGK (BRepGProp_Face &theSurface, BRepGProp_Domain &theDomain, const gp_Pnt &theLocation, const double theTolerance=0.001, const bool theCGFlag=false, const bool theIFlag=false) | |
| Constructor. Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the point VLocation. | |
| BRepGProp_VinertGK (BRepGProp_Face &theSurface, BRepGProp_Domain &theDomain, const gp_Pnt &thePoint, const gp_Pnt &theLocation, const double theTolerance=0.001, const bool theCGFlag=false, const bool theIFlag=false) | |
| Constructor. Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the point VLocation. The inertia is computed with respect to thePoint. | |
| BRepGProp_VinertGK (BRepGProp_Face &theSurface, const gp_Pln &thePlane, const gp_Pnt &theLocation, const double theTolerance=0.001, const bool theCGFlag=false, const bool theIFlag=false) | |
| Constructor. Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the plane. | |
| BRepGProp_VinertGK (BRepGProp_Face &theSurface, BRepGProp_Domain &theDomain, const gp_Pln &thePlane, const gp_Pnt &theLocation, const double theTolerance=0.001, const bool theCGFlag=false, const bool theIFlag=false) | |
| Constructor. Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the plane. | |
| void | SetLocation (const gp_Pnt &theLocation) |
| Sets the vertex that delimit 3D closed region of space. | |
| double | Perform (BRepGProp_Face &theSurface, const double theTolerance=0.001, const bool theCGFlag=false, const bool theIFlag=false) |
| Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the point VLocation. | |
| double | Perform (BRepGProp_Face &theSurface, const gp_Pnt &thePoint, const double theTolerance=0.001, const bool theCGFlag=false, const bool theIFlag=false) |
| Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the point VLocation. The inertia is computed with respect to thePoint. | |
| double | Perform (BRepGProp_Face &theSurface, BRepGProp_Domain &theDomain, const double theTolerance=0.001, const bool theCGFlag=false, const bool theIFlag=false) |
| Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the point VLocation. | |
| double | Perform (BRepGProp_Face &theSurface, BRepGProp_Domain &theDomain, const gp_Pnt &thePoint, const double theTolerance=0.001, const bool theCGFlag=false, const bool theIFlag=false) |
| Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the point VLocation. The inertia is computed with respect to thePoint. | |
| double | Perform (BRepGProp_Face &theSurface, const gp_Pln &thePlane, const double theTolerance=0.001, const bool theCGFlag=false, const bool theIFlag=false) |
| Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the plane. | |
| double | Perform (BRepGProp_Face &theSurface, BRepGProp_Domain &theDomain, const gp_Pln &thePlane, const double theTolerance=0.001, const bool theCGFlag=false, const bool theIFlag=false) |
| Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the plane. | |
| double | GetErrorReached () const |
| Returns the relative reached computation error. | |
| double | GetAbsolutError () const |
| Returns the absolut reached computation error. | |
Public Member Functions inherited from GProp_GProps | |
| 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. | |
Additional Inherited Members | |
Protected Attributes inherited from GProp_GProps | |
| 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 a geometric solid (3D closed region of space) delimited with :
The surface can be :
The surface's requirements to evaluate the global properties are defined in the template FaceTool class from the package GProp.
The adaptive 2D algorithm of Gauss-Kronrod integration of double integral is used.
The inner integral is computed along U parameter of surface. The integrand function is encapsulated in the support class UFunction that is defined below.
The outer integral is computed along T parameter of a bounding curve. The integrand function is encapsulated in the support class TFunction that is defined below.
|
inline |
Empty constructor.
| BRepGProp_VinertGK::BRepGProp_VinertGK | ( | BRepGProp_Face & | theSurface, |
| const gp_Pnt & | theLocation, | ||
| const double | theTolerance = 0.001, | ||
| const bool | theCGFlag = false, | ||
| const bool | theIFlag = false ) |
Constructor. Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the point VLocation.
| BRepGProp_VinertGK::BRepGProp_VinertGK | ( | BRepGProp_Face & | theSurface, |
| const gp_Pnt & | thePoint, | ||
| const gp_Pnt & | theLocation, | ||
| const double | theTolerance = 0.001, | ||
| const bool | theCGFlag = false, | ||
| const bool | theIFlag = false ) |
Constructor. Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the point VLocation. The inertia is computed with respect to thePoint.
| BRepGProp_VinertGK::BRepGProp_VinertGK | ( | BRepGProp_Face & | theSurface, |
| BRepGProp_Domain & | theDomain, | ||
| const gp_Pnt & | theLocation, | ||
| const double | theTolerance = 0.001, | ||
| const bool | theCGFlag = false, | ||
| const bool | theIFlag = false ) |
Constructor. Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the point VLocation.
| BRepGProp_VinertGK::BRepGProp_VinertGK | ( | BRepGProp_Face & | theSurface, |
| BRepGProp_Domain & | theDomain, | ||
| const gp_Pnt & | thePoint, | ||
| const gp_Pnt & | theLocation, | ||
| const double | theTolerance = 0.001, | ||
| const bool | theCGFlag = false, | ||
| const bool | theIFlag = false ) |
Constructor. Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the point VLocation. The inertia is computed with respect to thePoint.
| BRepGProp_VinertGK::BRepGProp_VinertGK | ( | BRepGProp_Face & | theSurface, |
| const gp_Pln & | thePlane, | ||
| const gp_Pnt & | theLocation, | ||
| const double | theTolerance = 0.001, | ||
| const bool | theCGFlag = false, | ||
| const bool | theIFlag = false ) |
Constructor. Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the plane.
| BRepGProp_VinertGK::BRepGProp_VinertGK | ( | BRepGProp_Face & | theSurface, |
| BRepGProp_Domain & | theDomain, | ||
| const gp_Pln & | thePlane, | ||
| const gp_Pnt & | theLocation, | ||
| const double | theTolerance = 0.001, | ||
| const bool | theCGFlag = false, | ||
| const bool | theIFlag = false ) |
Constructor. Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the plane.
| double BRepGProp_VinertGK::GetAbsolutError | ( | ) | const |
Returns the absolut reached computation error.
|
inline |
Returns the relative reached computation error.
| double BRepGProp_VinertGK::Perform | ( | BRepGProp_Face & | theSurface, |
| BRepGProp_Domain & | theDomain, | ||
| const double | theTolerance = 0.001, | ||
| const bool | theCGFlag = false, | ||
| const bool | theIFlag = false ) |
Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the point VLocation.
| double BRepGProp_VinertGK::Perform | ( | BRepGProp_Face & | theSurface, |
| BRepGProp_Domain & | theDomain, | ||
| const gp_Pln & | thePlane, | ||
| const double | theTolerance = 0.001, | ||
| const bool | theCGFlag = false, | ||
| const bool | theIFlag = false ) |
Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the plane.
| double BRepGProp_VinertGK::Perform | ( | BRepGProp_Face & | theSurface, |
| BRepGProp_Domain & | theDomain, | ||
| const gp_Pnt & | thePoint, | ||
| const double | theTolerance = 0.001, | ||
| const bool | theCGFlag = false, | ||
| const bool | theIFlag = false ) |
Computes the global properties of a region of 3D space delimited with the surface bounded by the domain and the point VLocation. The inertia is computed with respect to thePoint.
| double BRepGProp_VinertGK::Perform | ( | BRepGProp_Face & | theSurface, |
| const double | theTolerance = 0.001, | ||
| const bool | theCGFlag = false, | ||
| const bool | theIFlag = false ) |
Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the point VLocation.
| double BRepGProp_VinertGK::Perform | ( | BRepGProp_Face & | theSurface, |
| const gp_Pln & | thePlane, | ||
| const double | theTolerance = 0.001, | ||
| const bool | theCGFlag = false, | ||
| const bool | theIFlag = false ) |
Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the plane.
| double BRepGProp_VinertGK::Perform | ( | BRepGProp_Face & | theSurface, |
| const gp_Pnt & | thePoint, | ||
| const double | theTolerance = 0.001, | ||
| const bool | theCGFlag = false, | ||
| const bool | theIFlag = false ) |
Computes the global properties of a region of 3D space delimited with the naturally restricted surface and the point VLocation. The inertia is computed with respect to thePoint.
Sets the vertex that delimit 3D closed region of space.