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