File indexing completed on 2025-01-18 10:04:20
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _NLPlate_HGPPConstraint_HeaderFile
0018 #define _NLPlate_HGPPConstraint_HeaderFile
0019
0020 #include <Standard.hxx>
0021
0022 #include <gp_XY.hxx>
0023 #include <Standard_Integer.hxx>
0024 #include <Standard_Transient.hxx>
0025 #include <Standard_Real.hxx>
0026 class gp_XYZ;
0027 class Plate_D1;
0028 class Plate_D2;
0029 class Plate_D3;
0030
0031
0032 class NLPlate_HGPPConstraint;
0033 DEFINE_STANDARD_HANDLE(NLPlate_HGPPConstraint, Standard_Transient)
0034
0035
0036 class NLPlate_HGPPConstraint : public Standard_Transient
0037 {
0038
0039 public:
0040
0041
0042 NLPlate_HGPPConstraint() : myActiveOrder(0) {}
0043
0044 Standard_EXPORT virtual void SetUVFreeSliding (const Standard_Boolean UVFree);
0045
0046 Standard_EXPORT virtual void SetIncrementalLoadAllowed (const Standard_Boolean ILA);
0047
0048 Standard_EXPORT virtual void SetActiveOrder (const Standard_Integer ActiveOrder);
0049
0050 Standard_EXPORT virtual void SetUV (const gp_XY& UV);
0051
0052 Standard_EXPORT virtual void SetOrientation (const Standard_Integer Orient = 0);
0053
0054 Standard_EXPORT virtual void SetG0Criterion (const Standard_Real TolDist);
0055
0056 Standard_EXPORT virtual void SetG1Criterion (const Standard_Real TolAng);
0057
0058 Standard_EXPORT virtual void SetG2Criterion (const Standard_Real TolCurv);
0059
0060 Standard_EXPORT virtual void SetG3Criterion (const Standard_Real TolG3);
0061
0062 Standard_EXPORT virtual Standard_Boolean UVFreeSliding() const;
0063
0064 Standard_EXPORT virtual Standard_Boolean IncrementalLoadAllowed() const;
0065
0066 Standard_EXPORT virtual Standard_Integer ActiveOrder() const = 0;
0067
0068 Standard_EXPORT virtual const gp_XY& UV() const;
0069
0070 Standard_EXPORT virtual Standard_Integer Orientation();
0071
0072 Standard_EXPORT virtual Standard_Boolean IsG0() const = 0;
0073
0074 Standard_EXPORT virtual const gp_XYZ& G0Target() const;
0075
0076 Standard_EXPORT virtual const Plate_D1& G1Target() const;
0077
0078 Standard_EXPORT virtual const Plate_D2& G2Target() const;
0079
0080 Standard_EXPORT virtual const Plate_D3& G3Target() const;
0081
0082 Standard_EXPORT virtual Standard_Real G0Criterion() const;
0083
0084 Standard_EXPORT virtual Standard_Real G1Criterion() const;
0085
0086 Standard_EXPORT virtual Standard_Real G2Criterion() const;
0087
0088 Standard_EXPORT virtual Standard_Real G3Criterion() const;
0089
0090
0091
0092
0093 DEFINE_STANDARD_RTTIEXT(NLPlate_HGPPConstraint,Standard_Transient)
0094
0095 protected:
0096
0097
0098 gp_XY myUV;
0099 Standard_Integer myActiveOrder;
0100
0101
0102 private:
0103
0104
0105
0106
0107 };
0108
0109
0110
0111
0112
0113
0114
0115 #endif