File indexing completed on 2026-09-12 09:17:20
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #ifndef _GeomLib_CheckCurveOnSurface_HeaderFile
0016 #define _GeomLib_CheckCurveOnSurface_HeaderFile
0017
0018 #include <Adaptor3d_Curve.hxx>
0019 #include <Precision.hxx>
0020 #include <Standard.hxx>
0021
0022 class Adaptor3d_CurveOnSurface;
0023
0024
0025
0026 class GeomLib_CheckCurveOnSurface
0027 {
0028 public:
0029 DEFINE_STANDARD_ALLOC
0030
0031
0032 Standard_EXPORT GeomLib_CheckCurveOnSurface();
0033
0034
0035 Standard_EXPORT GeomLib_CheckCurveOnSurface(const occ::handle<Adaptor3d_Curve>& theCurve,
0036 const double theTolRange = Precision::PConfusion());
0037
0038
0039 Standard_EXPORT void Init(const occ::handle<Adaptor3d_Curve>& theCurve,
0040 const double theTolRange = Precision::PConfusion());
0041
0042
0043 Standard_EXPORT void Init();
0044
0045
0046
0047
0048 Standard_EXPORT void Perform(const occ::handle<Adaptor3d_CurveOnSurface>& theCurveOnSurface);
0049
0050
0051 void SetParallel(const bool theIsParallel) { myIsParallel = theIsParallel; }
0052
0053
0054 bool IsParallel() { return myIsParallel; }
0055
0056
0057 bool IsDone() const { return (myErrorStatus == 0); }
0058
0059
0060
0061
0062
0063
0064
0065 int ErrorStatus() const { return myErrorStatus; }
0066
0067
0068 double MaxDistance() const { return myMaxDistance; }
0069
0070
0071 double MaxParameter() const { return myMaxParameter; }
0072
0073 private:
0074 occ::handle<Adaptor3d_Curve> myCurve;
0075 int myErrorStatus;
0076 double myMaxDistance;
0077 double myMaxParameter;
0078 double myTolRange;
0079 bool myIsParallel;
0080 };
0081
0082 #endif