OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    BRepGProp_VinertGK Class Reference

    Computes the global properties of a geometric solid (3D closed region of space) delimited with : More...

    #include <BRepGProp_VinertGK.hxx>

    Inheritance diagram for BRepGProp_VinertGK:

    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.

    Detailed Description

    Computes the global properties of a geometric solid (3D closed region of space) delimited with :

    • a point and a surface
    • a plane and a surface

    The surface can be :

    • a surface limited with its parametric values U-V, (naturally restricted)
    • a surface limited in U-V space with its boundary curves.

    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.

    Constructor & Destructor Documentation

    ◆ BRepGProp_VinertGK() [1/7]

    BRepGProp_VinertGK::BRepGProp_VinertGK ( )
    inline

    Empty constructor.

    ◆ BRepGProp_VinertGK() [2/7]

    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() [3/7]

    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() [4/7]

    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() [5/7]

    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() [6/7]

    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() [7/7]

    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.

    Member Function Documentation

    ◆ GetAbsolutError()

    double BRepGProp_VinertGK::GetAbsolutError ( ) const

    Returns the absolut reached computation error.

    ◆ GetErrorReached()

    double BRepGProp_VinertGK::GetErrorReached ( ) const
    inline

    Returns the relative reached computation error.

    ◆ Perform() [1/6]

    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.

    ◆ Perform() [2/6]

    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.

    ◆ Perform() [3/6]

    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.

    ◆ Perform() [4/6]

    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.

    ◆ Perform() [5/6]

    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.

    ◆ Perform() [6/6]

    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.

    ◆ SetLocation()

    void BRepGProp_VinertGK::SetLocation ( const gp_Pnt & theLocation)
    inline

    Sets the vertex that delimit 3D closed region of space.


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