Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
BRepGProp_Sinert Class Reference

Computes the global properties of a face in 3D space. The face 's requirements to evaluate the global properties are defined in the template FaceTool from package GProp. More...

#include <BRepGProp_Sinert.hxx>

Inheritance diagram for BRepGProp_Sinert:
Inheritance graph
[legend]

Public Member Functions

 BRepGProp_Sinert ()
 
 BRepGProp_Sinert (const BRepGProp_Face &S, const gp_Pnt &SLocation)
 
 BRepGProp_Sinert (BRepGProp_Face &S, BRepGProp_Domain &D, const gp_Pnt &SLocation)
 Builds a Sinert to evaluate the global properties of the face . If isNaturalRestriction is true the domain of S is defined with the natural bounds, else it defined with an iterator of Edge from TopoDS (see DomainTool from GProp)
 
 BRepGProp_Sinert (BRepGProp_Face &S, const gp_Pnt &SLocation, const double Eps)
 
 BRepGProp_Sinert (BRepGProp_Face &S, BRepGProp_Domain &D, const gp_Pnt &SLocation, const double Eps)
 
void SetLocation (const gp_Pnt &SLocation)
 
void Perform (const BRepGProp_Face &S)
 
void Perform (BRepGProp_Face &S, BRepGProp_Domain &D)
 
double Perform (BRepGProp_Face &S, const double Eps)
 
double Perform (BRepGProp_Face &S, BRepGProp_Domain &D, const double Eps)
 
double GetEpsilon ()
 If previously used method contained Eps parameter get actual relative error of the computation, else return 1.0.
 
- 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.
 

Detailed Description

Computes the global properties of a face in 3D space. The face 's requirements to evaluate the global properties are defined in the template FaceTool from package GProp.

Constructor & Destructor Documentation

◆ BRepGProp_Sinert() [1/5]

BRepGProp_Sinert::BRepGProp_Sinert ( )

◆ BRepGProp_Sinert() [2/5]

BRepGProp_Sinert::BRepGProp_Sinert ( const BRepGProp_Face & S,
const gp_Pnt & SLocation )

◆ BRepGProp_Sinert() [3/5]

BRepGProp_Sinert::BRepGProp_Sinert ( BRepGProp_Face & S,
BRepGProp_Domain & D,
const gp_Pnt & SLocation )

Builds a Sinert to evaluate the global properties of the face . If isNaturalRestriction is true the domain of S is defined with the natural bounds, else it defined with an iterator of Edge from TopoDS (see DomainTool from GProp)

◆ BRepGProp_Sinert() [4/5]

BRepGProp_Sinert::BRepGProp_Sinert ( BRepGProp_Face & S,
const gp_Pnt & SLocation,
const double Eps )

◆ BRepGProp_Sinert() [5/5]

BRepGProp_Sinert::BRepGProp_Sinert ( BRepGProp_Face & S,
BRepGProp_Domain & D,
const gp_Pnt & SLocation,
const double Eps )

Member Function Documentation

◆ GetEpsilon()

double BRepGProp_Sinert::GetEpsilon ( )

If previously used method contained Eps parameter get actual relative error of the computation, else return 1.0.

◆ Perform() [1/4]

void BRepGProp_Sinert::Perform ( BRepGProp_Face & S,
BRepGProp_Domain & D )

◆ Perform() [2/4]

double BRepGProp_Sinert::Perform ( BRepGProp_Face & S,
BRepGProp_Domain & D,
const double Eps )

◆ Perform() [3/4]

double BRepGProp_Sinert::Perform ( BRepGProp_Face & S,
const double Eps )

◆ Perform() [4/4]

void BRepGProp_Sinert::Perform ( const BRepGProp_Face & S)

◆ SetLocation()

void BRepGProp_Sinert::SetLocation ( const gp_Pnt & SLocation)

The documentation for this class was generated from the following file: