File indexing completed on 2025-01-18 10:03:41
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
0030 DEFINE_STANDARD_ALLOC
0031
0032
0033 Standard_EXPORT GeomLib_CheckCurveOnSurface(void);
0034
0035
0036 Standard_EXPORT
0037 GeomLib_CheckCurveOnSurface(const Handle(Adaptor3d_Curve)& theCurve,
0038 const Standard_Real theTolRange =
0039 Precision::PConfusion());
0040
0041
0042 Standard_EXPORT void Init (const Handle(Adaptor3d_Curve)& theCurve,
0043 const Standard_Real theTolRange = Precision::PConfusion());
0044
0045
0046 Standard_EXPORT void Init();
0047
0048
0049
0050
0051 Standard_EXPORT void Perform(const Handle(Adaptor3d_CurveOnSurface)& theCurveOnSurface);
0052
0053
0054 void SetParallel(const Standard_Boolean theIsParallel)
0055 {
0056 myIsParallel = theIsParallel;
0057 }
0058
0059
0060 Standard_Boolean IsParallel()
0061 {
0062 return myIsParallel;
0063 }
0064
0065
0066 Standard_Boolean IsDone() const
0067 {
0068 return (myErrorStatus == 0);
0069 }
0070
0071
0072
0073
0074
0075
0076
0077 Standard_Integer ErrorStatus() const
0078 {
0079 return myErrorStatus;
0080 }
0081
0082
0083 Standard_Real MaxDistance() const
0084 {
0085 return myMaxDistance;
0086 }
0087
0088
0089 Standard_Real MaxParameter() const
0090 {
0091 return myMaxParameter;
0092 }
0093
0094 private:
0095
0096 Handle(Adaptor3d_Curve) myCurve;
0097 Standard_Integer myErrorStatus;
0098 Standard_Real myMaxDistance;
0099 Standard_Real myMaxParameter;
0100 Standard_Real myTolRange;
0101 Standard_Boolean myIsParallel;
0102 };
0103
0104 #endif