File indexing completed on 2024-11-15 09:46:41
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _Geom2dHatch_FClass2dOfClassifier_HeaderFile
0018 #define _Geom2dHatch_FClass2dOfClassifier_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <gp_Lin2d.hxx>
0024 #include <TopTrans_CurveTransition.hxx>
0025 #include <Geom2dHatch_Intersector.hxx>
0026 #include <Standard_Integer.hxx>
0027 #include <TopAbs_State.hxx>
0028 #include <TopAbs_Orientation.hxx>
0029 class Standard_DomainError;
0030 class Geom2dAdaptor_Curve;
0031 class Geom2dHatch_Intersector;
0032 class gp_Lin2d;
0033
0034
0035
0036 class Geom2dHatch_FClass2dOfClassifier
0037 {
0038 public:
0039
0040 DEFINE_STANDARD_ALLOC
0041
0042
0043
0044 Standard_EXPORT Geom2dHatch_FClass2dOfClassifier();
0045
0046
0047
0048
0049
0050
0051 Standard_EXPORT void Reset (const gp_Lin2d& L, const Standard_Real P, const Standard_Real Tol);
0052
0053
0054
0055 Standard_EXPORT void Compare (const Geom2dAdaptor_Curve& E, const TopAbs_Orientation Or);
0056
0057
0058 Standard_Real Parameter() const;
0059
0060
0061 Geom2dHatch_Intersector& Intersector();
0062
0063
0064
0065
0066
0067 Standard_Integer ClosestIntersection() const;
0068
0069
0070 TopAbs_State State() const;
0071
0072
0073
0074
0075 Standard_Boolean IsHeadOrEnd() const;
0076
0077
0078
0079
0080 protected:
0081
0082
0083
0084
0085
0086 private:
0087
0088
0089
0090 Standard_Boolean myIsSet;
0091 Standard_Boolean myFirstCompare;
0092 Standard_Boolean myFirstTrans;
0093 gp_Lin2d myLin;
0094 Standard_Real myParam;
0095 Standard_Real myTolerance;
0096 TopTrans_CurveTransition myTrans;
0097 Geom2dHatch_Intersector myIntersector;
0098 Standard_Integer myClosest;
0099 TopAbs_State myState;
0100 Standard_Boolean myIsHeadOrEnd;
0101
0102
0103 };
0104
0105 #define TheEdge Geom2dAdaptor_Curve
0106 #define TheEdge_hxx <Geom2dAdaptor_Curve.hxx>
0107 #define TheIntersector Geom2dHatch_Intersector
0108 #define TheIntersector_hxx <Geom2dHatch_Intersector.hxx>
0109 #define TopClass_Classifier2d Geom2dHatch_FClass2dOfClassifier
0110 #define TopClass_Classifier2d_hxx <Geom2dHatch_FClass2dOfClassifier.hxx>
0111
0112 #include <TopClass_Classifier2d.lxx>
0113
0114 #undef TheEdge
0115 #undef TheEdge_hxx
0116 #undef TheIntersector
0117 #undef TheIntersector_hxx
0118 #undef TopClass_Classifier2d
0119 #undef TopClass_Classifier2d_hxx
0120
0121
0122
0123
0124 #endif