File indexing completed on 2026-09-08 09:16:43
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _IntPatch_CurvIntSurf_HeaderFile
0018 #define _IntPatch_CurvIntSurf_HeaderFile
0019
0020 #include <IntPatch_CSFunction.hxx>
0021
0022 class Adaptor3d_HSurfaceTool;
0023 class IntPatch_HCurve2dTool;
0024 class math_FunctionSetRoot;
0025
0026 class IntPatch_CurvIntSurf
0027 {
0028 public:
0029 DEFINE_STANDARD_ALLOC
0030
0031
0032
0033
0034 Standard_EXPORT IntPatch_CurvIntSurf(const Standard_Real U,
0035 const Standard_Real V,
0036 const Standard_Real W,
0037 const IntPatch_CSFunction& F,
0038 const Standard_Real TolTangency,
0039 const Standard_Real MarginCoef = 0.0);
0040
0041
0042 Standard_EXPORT IntPatch_CurvIntSurf(const IntPatch_CSFunction& F,
0043 const Standard_Real TolTangency);
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066
0067 Standard_EXPORT void Perform(const Standard_Real U,
0068 const Standard_Real V,
0069 const Standard_Real W,
0070 math_FunctionSetRoot& Rsnld,
0071 const Standard_Real u0,
0072 const Standard_Real v0,
0073 const Standard_Real u1,
0074 const Standard_Real v1,
0075 const Standard_Real w0,
0076 const Standard_Real w1);
0077
0078
0079 Standard_EXPORT Standard_Boolean IsDone() const;
0080
0081 Standard_EXPORT Standard_Boolean IsEmpty() const;
0082
0083
0084
0085
0086 Standard_EXPORT const gp_Pnt& Point() const;
0087
0088 Standard_EXPORT Standard_Real ParameterOnCurve() const;
0089
0090 Standard_EXPORT void ParameterOnSurface(Standard_Real& U, Standard_Real& V) const;
0091
0092
0093
0094 Standard_EXPORT IntPatch_CSFunction& Function();
0095
0096 protected:
0097 private:
0098 Standard_Boolean done;
0099 Standard_Boolean empty;
0100 IntPatch_CSFunction myFunction;
0101 Standard_Real w;
0102 Standard_Real u;
0103 Standard_Real v;
0104 Standard_Real tol;
0105 };
0106
0107 #endif