File indexing completed on 2025-01-18 10:03:39
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _GeomFill_LocationLaw_HeaderFile
0018 #define _GeomFill_LocationLaw_HeaderFile
0019
0020 #include <Adaptor3d_Curve.hxx>
0021 #include <GeomAbs_Shape.hxx>
0022 #include <GeomFill_PipeError.hxx>
0023 #include <TColgp_Array1OfPnt2d.hxx>
0024 #include <TColgp_Array1OfVec2d.hxx>
0025 #include <TColStd_Array1OfReal.hxx>
0026
0027 class gp_Mat;
0028 class gp_Vec;
0029 class gp_Pnt;
0030
0031 class GeomFill_LocationLaw;
0032 DEFINE_STANDARD_HANDLE(GeomFill_LocationLaw, Standard_Transient)
0033
0034
0035
0036
0037 class GeomFill_LocationLaw : public Standard_Transient
0038 {
0039
0040 public:
0041
0042 Standard_EXPORT virtual Standard_Boolean SetCurve (const Handle(Adaptor3d_Curve)& C) = 0;
0043
0044 Standard_EXPORT virtual const Handle(Adaptor3d_Curve)& GetCurve() const = 0;
0045
0046
0047
0048 Standard_EXPORT virtual void SetTrsf (const gp_Mat& Transfo) = 0;
0049
0050 Standard_EXPORT virtual Handle(GeomFill_LocationLaw) Copy() const = 0;
0051
0052
0053 Standard_EXPORT virtual Standard_Boolean D0 (const Standard_Real Param, gp_Mat& M, gp_Vec& V) = 0;
0054
0055
0056 Standard_EXPORT virtual Standard_Boolean D0 (const Standard_Real Param, gp_Mat& M, gp_Vec& V, TColgp_Array1OfPnt2d& Poles2d) = 0;
0057
0058
0059
0060
0061 Standard_EXPORT virtual Standard_Boolean D1 (const Standard_Real Param, gp_Mat& M, gp_Vec& V, gp_Mat& DM, gp_Vec& DV, TColgp_Array1OfPnt2d& Poles2d, TColgp_Array1OfVec2d& DPoles2d);
0062
0063
0064
0065
0066 Standard_EXPORT virtual Standard_Boolean D2 (const Standard_Real Param, gp_Mat& M, gp_Vec& V, gp_Mat& DM, gp_Vec& DV, gp_Mat& D2M, gp_Vec& D2V, TColgp_Array1OfPnt2d& Poles2d, TColgp_Array1OfVec2d& DPoles2d, TColgp_Array1OfVec2d& D2Poles2d);
0067
0068
0069
0070 Standard_EXPORT Standard_Integer Nb2dCurves() const;
0071
0072
0073
0074
0075
0076 Standard_EXPORT virtual Standard_Boolean HasFirstRestriction() const;
0077
0078
0079
0080
0081
0082 Standard_EXPORT virtual Standard_Boolean HasLastRestriction() const;
0083
0084
0085
0086 Standard_EXPORT virtual Standard_Integer TraceNumber() const;
0087
0088
0089
0090 Standard_EXPORT virtual GeomFill_PipeError ErrorStatus() const;
0091
0092
0093
0094
0095 Standard_EXPORT virtual Standard_Integer NbIntervals (const GeomAbs_Shape S) const = 0;
0096
0097
0098
0099
0100
0101
0102 Standard_EXPORT virtual void Intervals (TColStd_Array1OfReal& T, const GeomAbs_Shape S) const = 0;
0103
0104
0105
0106
0107
0108 Standard_EXPORT virtual void SetInterval (const Standard_Real First, const Standard_Real Last) = 0;
0109
0110
0111
0112 Standard_EXPORT virtual void GetInterval (Standard_Real& First, Standard_Real& Last) const = 0;
0113
0114
0115
0116
0117 Standard_EXPORT virtual void GetDomain (Standard_Real& First, Standard_Real& Last) const = 0;
0118
0119
0120
0121
0122 Standard_EXPORT virtual void Resolution (const Standard_Integer Index, const Standard_Real Tol, Standard_Real& TolU, Standard_Real& TolV) const;
0123
0124
0125
0126
0127 Standard_EXPORT virtual void SetTolerance (const Standard_Real Tol3d, const Standard_Real Tol2d);
0128
0129
0130
0131 Standard_EXPORT virtual Standard_Real GetMaximalNorm() = 0;
0132
0133
0134
0135 Standard_EXPORT virtual void GetAverageLaw (gp_Mat& AM, gp_Vec& AV) = 0;
0136
0137
0138
0139 Standard_EXPORT virtual Standard_Boolean IsTranslation (Standard_Real& Error) const;
0140
0141
0142
0143 Standard_EXPORT virtual Standard_Boolean IsRotation (Standard_Real& Error) const;
0144
0145 Standard_EXPORT virtual void Rotation (gp_Pnt& Center) const;
0146
0147
0148
0149
0150 DEFINE_STANDARD_RTTIEXT(GeomFill_LocationLaw,Standard_Transient)
0151
0152 protected:
0153
0154
0155
0156
0157 private:
0158
0159
0160
0161
0162 };
0163
0164
0165
0166
0167
0168
0169
0170 #endif