File indexing completed on 2025-01-18 10:03:07
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox_HeaderFile
0018 #define _BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <IntSurf_PntOn2S.hxx>
0024 #include <gp_Dir.hxx>
0025 #include <gp_Dir2d.hxx>
0026 #include <BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox.hxx>
0027 #include <TColStd_Array1OfReal.hxx>
0028 #include <IntImp_ConstIsoparametric.hxx>
0029 class StdFail_NotDone;
0030 class Standard_DomainError;
0031 class Standard_ConstructionError;
0032 class StdFail_UndefinedDerivative;
0033 class BRepAdaptor_Surface;
0034 class BRepApprox_SurfaceTool;
0035 class BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox;
0036 class math_FunctionSetRoot;
0037 class IntSurf_PntOn2S;
0038 class gp_Dir;
0039 class gp_Dir2d;
0040
0041
0042
0043 class BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox
0044 {
0045 public:
0046
0047 DEFINE_STANDARD_ALLOC
0048
0049
0050 Standard_EXPORT BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox(const TColStd_Array1OfReal& Param, const BRepAdaptor_Surface& S1, const BRepAdaptor_Surface& S2, const Standard_Real TolTangency);
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062 Standard_EXPORT BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox(const BRepAdaptor_Surface& S1, const BRepAdaptor_Surface& S2, const Standard_Real TolTangency);
0063
0064
0065
0066
0067
0068
0069 Standard_EXPORT IntImp_ConstIsoparametric Perform (const TColStd_Array1OfReal& Param, math_FunctionSetRoot& Rsnld);
0070
0071
0072
0073
0074
0075
0076 Standard_EXPORT IntImp_ConstIsoparametric Perform (const TColStd_Array1OfReal& Param, math_FunctionSetRoot& Rsnld, const IntImp_ConstIsoparametric ChoixIso);
0077
0078
0079 Standard_Boolean IsDone() const;
0080
0081
0082 Standard_Boolean IsEmpty() const;
0083
0084
0085 const IntSurf_PntOn2S& Point() const;
0086
0087
0088
0089 Standard_Boolean IsTangent() const;
0090
0091
0092 const gp_Dir& Direction() const;
0093
0094
0095
0096 const gp_Dir2d& DirectionOnS1() const;
0097
0098
0099
0100 const gp_Dir2d& DirectionOnS2() const;
0101
0102
0103
0104 BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox& Function();
0105
0106
0107
0108 IntSurf_PntOn2S& ChangePoint();
0109
0110
0111
0112
0113 protected:
0114
0115
0116
0117
0118
0119 private:
0120
0121
0122
0123 Standard_Boolean done;
0124 Standard_Boolean empty;
0125 IntSurf_PntOn2S pint;
0126 Standard_Boolean tangent;
0127 gp_Dir d3d;
0128 gp_Dir2d d2d1;
0129 gp_Dir2d d2d2;
0130 BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox myZerParFunc;
0131 Standard_Real tol;
0132 Standard_Real ua0;
0133 Standard_Real va0;
0134 Standard_Real ua1;
0135 Standard_Real va1;
0136 Standard_Real ub0;
0137 Standard_Real vb0;
0138 Standard_Real ub1;
0139 Standard_Real vb1;
0140 Standard_Real ures1;
0141 Standard_Real ures2;
0142 Standard_Real vres1;
0143 Standard_Real vres2;
0144
0145
0146 };
0147
0148 #define ThePSurface BRepAdaptor_Surface
0149 #define ThePSurface_hxx <BRepAdaptor_Surface.hxx>
0150 #define ThePSurfaceTool BRepApprox_SurfaceTool
0151 #define ThePSurfaceTool_hxx <BRepApprox_SurfaceTool.hxx>
0152 #define IntImp_TheFunction BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox
0153 #define IntImp_TheFunction_hxx <BRepApprox_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfApprox.hxx>
0154 #define IntImp_Int2S BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox
0155 #define IntImp_Int2S_hxx <BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox.hxx>
0156
0157 #include <IntImp_Int2S.lxx>
0158
0159 #undef ThePSurface
0160 #undef ThePSurface_hxx
0161 #undef ThePSurfaceTool
0162 #undef ThePSurfaceTool_hxx
0163 #undef IntImp_TheFunction
0164 #undef IntImp_TheFunction_hxx
0165 #undef IntImp_Int2S
0166 #undef IntImp_Int2S_hxx
0167
0168
0169
0170
0171 #endif