File indexing completed on 2026-09-16 09:16:33
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #ifndef _BRepClass3d_SolidPassiveClassifier_HeaderFile
0016 #define _BRepClass3d_SolidPassiveClassifier_HeaderFile
0017
0018 #include <BRepClass3d_Intersector3d.hxx>
0019 #include <Standard.hxx>
0020 #include <Standard_Boolean.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023 #include <TopAbs_Orientation.hxx>
0024 #include <TopAbs_State.hxx>
0025 #include <TopoDS_Face.hxx>
0026 #include <gp_Lin.hxx>
0027
0028 class Standard_DomainError;
0029 class BRepClass3d_Intersector3d;
0030 class gp_Lin;
0031 class TopoDS_Face;
0032
0033 class BRepClass3d_SolidPassiveClassifier
0034 {
0035 public:
0036 DEFINE_STANDARD_ALLOC
0037
0038
0039 Standard_EXPORT BRepClass3d_SolidPassiveClassifier();
0040
0041
0042
0043
0044
0045
0046 Standard_EXPORT void Reset(const gp_Lin& L, const double P, const double Tol);
0047
0048
0049
0050 Standard_EXPORT void Compare(const TopoDS_Face& F, const TopAbs_Orientation Or);
0051
0052
0053 double Parameter() const { return myParam; }
0054
0055
0056 bool HasIntersection() const { return hasIntersect; }
0057
0058
0059 BRepClass3d_Intersector3d& Intersector() { return myIntersector; }
0060
0061
0062 TopAbs_State State() const { return myState; }
0063
0064 private:
0065 bool isSet;
0066 TopoDS_Face myFace;
0067 gp_Lin myLin;
0068 double myParam;
0069 double myTolerance;
0070 TopAbs_State myState;
0071 bool hasIntersect;
0072 BRepClass3d_Intersector3d myIntersector;
0073 };
0074
0075 #endif