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 _BRepClass3d_SolidPassiveClassifier_HeaderFile
0018 #define _BRepClass3d_SolidPassiveClassifier_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <Standard_Boolean.hxx>
0025 #include <TopoDS_Face.hxx>
0026 #include <gp_Lin.hxx>
0027 #include <TopAbs_State.hxx>
0028 #include <BRepClass3d_Intersector3d.hxx>
0029 #include <TopAbs_Orientation.hxx>
0030 class Standard_DomainError;
0031 class BRepClass3d_Intersector3d;
0032 class gp_Lin;
0033 class TopoDS_Face;
0034
0035
0036
0037 class BRepClass3d_SolidPassiveClassifier
0038 {
0039 public:
0040
0041 DEFINE_STANDARD_ALLOC
0042
0043
0044
0045 Standard_EXPORT BRepClass3d_SolidPassiveClassifier();
0046
0047
0048
0049
0050
0051
0052 Standard_EXPORT void Reset (const gp_Lin& L, const Standard_Real P, const Standard_Real Tol);
0053
0054
0055
0056 Standard_EXPORT void Compare (const TopoDS_Face& F, const TopAbs_Orientation Or);
0057
0058
0059 Standard_Real Parameter() const;
0060
0061
0062 Standard_Boolean HasIntersection() const;
0063
0064
0065 BRepClass3d_Intersector3d& Intersector();
0066
0067
0068 TopAbs_State State() const;
0069
0070
0071
0072
0073 protected:
0074
0075
0076
0077
0078
0079 private:
0080
0081
0082
0083 Standard_Boolean isSet;
0084 TopoDS_Face myFace;
0085 gp_Lin myLin;
0086 Standard_Real myParam;
0087 Standard_Real myTolerance;
0088 TopAbs_State myState;
0089 Standard_Boolean hasIntersect;
0090 BRepClass3d_Intersector3d myIntersector;
0091
0092
0093 };
0094
0095 #define TheIntersector BRepClass3d_Intersector3d
0096 #define TheIntersector_hxx <BRepClass3d_Intersector3d.hxx>
0097 #define TopClass_Classifier3d BRepClass3d_SolidPassiveClassifier
0098 #define TopClass_Classifier3d_hxx <BRepClass3d_SolidPassiveClassifier.hxx>
0099
0100 #include <TopClass_Classifier3d.lxx>
0101
0102 #undef TheIntersector
0103 #undef TheIntersector_hxx
0104 #undef TopClass_Classifier3d
0105 #undef TopClass_Classifier3d_hxx
0106
0107
0108
0109
0110 #endif