File indexing completed on 2026-07-01 08:32:21
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRepGProp_Sinert_HeaderFile
0018 #define _BRepGProp_Sinert_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <GProp_GProps.hxx>
0024 class BRepGProp_Face;
0025 class gp_Pnt;
0026 class BRepGProp_Domain;
0027
0028
0029
0030
0031 class BRepGProp_Sinert : public GProp_GProps
0032 {
0033 public:
0034 DEFINE_STANDARD_ALLOC
0035
0036 Standard_EXPORT BRepGProp_Sinert();
0037
0038 Standard_EXPORT BRepGProp_Sinert(const BRepGProp_Face& S, const gp_Pnt& SLocation);
0039
0040
0041
0042
0043
0044 Standard_EXPORT BRepGProp_Sinert(BRepGProp_Face& S, BRepGProp_Domain& D, const gp_Pnt& SLocation);
0045
0046 Standard_EXPORT BRepGProp_Sinert(BRepGProp_Face& S,
0047 const gp_Pnt& SLocation,
0048 const Standard_Real Eps);
0049
0050 Standard_EXPORT BRepGProp_Sinert(BRepGProp_Face& S,
0051 BRepGProp_Domain& D,
0052 const gp_Pnt& SLocation,
0053 const Standard_Real Eps);
0054
0055 Standard_EXPORT void SetLocation(const gp_Pnt& SLocation);
0056
0057 Standard_EXPORT void Perform(const BRepGProp_Face& S);
0058
0059 Standard_EXPORT void Perform(BRepGProp_Face& S, BRepGProp_Domain& D);
0060
0061 Standard_EXPORT Standard_Real Perform(BRepGProp_Face& S, const Standard_Real Eps);
0062
0063 Standard_EXPORT Standard_Real Perform(BRepGProp_Face& S,
0064 BRepGProp_Domain& D,
0065 const Standard_Real Eps);
0066
0067
0068
0069 Standard_EXPORT Standard_Real GetEpsilon();
0070
0071 protected:
0072 private:
0073 Standard_Real myEpsilon;
0074 };
0075
0076 #endif