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_FClassifier_HeaderFile
0018 #define _BRepClass_FClassifier_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <BRepClass_FClass2dOfFClassifier.hxx>
0024 #include <BRepClass_Edge.hxx>
0025 #include <IntRes2d_Position.hxx>
0026 #include <TopAbs_State.hxx>
0027 class Standard_DomainError;
0028 class BRepClass_FaceExplorer;
0029 class BRepClass_Edge;
0030 class BRepClass_Intersector;
0031 class BRepClass_FClass2dOfFClassifier;
0032 class gp_Pnt2d;
0033
0034
0035
0036 class BRepClass_FClassifier
0037 {
0038 public:
0039
0040 DEFINE_STANDARD_ALLOC
0041
0042
0043
0044 Standard_EXPORT BRepClass_FClassifier();
0045
0046
0047
0048 Standard_EXPORT BRepClass_FClassifier(BRepClass_FaceExplorer& F, const gp_Pnt2d& P, const Standard_Real Tol);
0049
0050
0051
0052 Standard_EXPORT void Perform (BRepClass_FaceExplorer& F, const gp_Pnt2d& P, const Standard_Real Tol);
0053
0054
0055 Standard_EXPORT TopAbs_State State() const;
0056
0057
0058
0059 Standard_Boolean Rejected() const;
0060
0061
0062
0063 Standard_Boolean NoWires() const;
0064
0065
0066
0067
0068 Standard_EXPORT const BRepClass_Edge& Edge() const;
0069
0070
0071
0072 Standard_EXPORT Standard_Real EdgeParameter() const;
0073
0074
0075
0076 IntRes2d_Position Position() const;
0077
0078
0079
0080
0081 protected:
0082
0083
0084
0085 BRepClass_FClass2dOfFClassifier myClassifier;
0086 BRepClass_Edge myEdge;
0087 Standard_Real myEdgeParameter;
0088 IntRes2d_Position myPosition;
0089 Standard_Boolean rejected;
0090 Standard_Boolean nowires;
0091
0092
0093 private:
0094
0095
0096
0097
0098
0099 };
0100
0101 #define TheFaceExplorer BRepClass_FaceExplorer
0102 #define TheFaceExplorer_hxx <BRepClass_FaceExplorer.hxx>
0103 #define TheEdge BRepClass_Edge
0104 #define TheEdge_hxx <BRepClass_Edge.hxx>
0105 #define TheIntersection2d BRepClass_Intersector
0106 #define TheIntersection2d_hxx <BRepClass_Intersector.hxx>
0107 #define TopClass_FClass2d BRepClass_FClass2dOfFClassifier
0108 #define TopClass_FClass2d_hxx <BRepClass_FClass2dOfFClassifier.hxx>
0109 #define TopClass_FaceClassifier BRepClass_FClassifier
0110 #define TopClass_FaceClassifier_hxx <BRepClass_FClassifier.hxx>
0111
0112 #include <TopClass_FaceClassifier.lxx>
0113
0114 #undef TheFaceExplorer
0115 #undef TheFaceExplorer_hxx
0116 #undef TheEdge
0117 #undef TheEdge_hxx
0118 #undef TheIntersection2d
0119 #undef TheIntersection2d_hxx
0120 #undef TopClass_FClass2d
0121 #undef TopClass_FClass2d_hxx
0122 #undef TopClass_FaceClassifier
0123 #undef TopClass_FaceClassifier_hxx
0124
0125
0126
0127
0128 #endif