Warning, file /include/opencascade/BRepClass_FacePassiveClassifier.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRepClass_FacePassiveClassifier_HeaderFile
0018 #define _BRepClass_FacePassiveClassifier_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <gp_Lin2d.hxx>
0024 #include <TopTrans_CurveTransition.hxx>
0025 #include <BRepClass_Intersector.hxx>
0026 #include <Standard_Integer.hxx>
0027 #include <TopAbs_State.hxx>
0028 #include <TopAbs_Orientation.hxx>
0029 class Standard_DomainError;
0030 class BRepClass_Edge;
0031 class BRepClass_Intersector;
0032 class gp_Lin2d;
0033
0034 class BRepClass_FacePassiveClassifier
0035 {
0036 public:
0037 DEFINE_STANDARD_ALLOC
0038
0039
0040 Standard_EXPORT BRepClass_FacePassiveClassifier();
0041
0042
0043
0044
0045
0046
0047 Standard_EXPORT void Reset(const gp_Lin2d& L, const double P, const double Tol);
0048
0049
0050
0051 Standard_EXPORT void Compare(const BRepClass_Edge& E, const TopAbs_Orientation Or);
0052
0053
0054 double Parameter() const { return myParam; }
0055
0056
0057 BRepClass_Intersector& Intersector() { return myIntersector; }
0058
0059
0060
0061
0062
0063 int ClosestIntersection() const { return myClosest; }
0064
0065
0066 TopAbs_State State() const { return myState; }
0067
0068
0069
0070
0071 bool IsHeadOrEnd() const { return myIsHeadOrEnd; }
0072
0073 private:
0074 bool myIsSet;
0075 bool myFirstCompare;
0076 bool myFirstTrans;
0077 gp_Lin2d myLin;
0078 double myParam;
0079 double myTolerance;
0080 TopTrans_CurveTransition myTrans;
0081 BRepClass_Intersector myIntersector;
0082 int myClosest;
0083 TopAbs_State myState;
0084 bool myIsHeadOrEnd;
0085 };
0086
0087 #endif