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