File indexing completed on 2026-10-06 09:20:23
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _Geom2dHatch_Classifier_HeaderFile
0018 #define _Geom2dHatch_Classifier_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <Geom2dHatch_FClass2dOfClassifier.hxx>
0024 #include <Geom2dAdaptor_Curve.hxx>
0025 #include <IntRes2d_Position.hxx>
0026 #include <TopAbs_State.hxx>
0027 class Standard_DomainError;
0028 class Geom2dHatch_Elements;
0029 class Geom2dAdaptor_Curve;
0030 class Geom2dHatch_Intersector;
0031 class Geom2dHatch_FClass2dOfClassifier;
0032 class gp_Pnt2d;
0033
0034 class Geom2dHatch_Classifier
0035 {
0036 public:
0037 DEFINE_STANDARD_ALLOC
0038
0039
0040 Standard_EXPORT Geom2dHatch_Classifier();
0041
0042
0043
0044 Standard_EXPORT Geom2dHatch_Classifier(Geom2dHatch_Elements& F,
0045 const gp_Pnt2d& P,
0046 const double Tol);
0047
0048
0049
0050 Standard_EXPORT void Perform(Geom2dHatch_Elements& F, const gp_Pnt2d& P, const double Tol);
0051
0052
0053 Standard_EXPORT TopAbs_State State() const;
0054
0055
0056
0057 bool Rejected() const { return rejected; }
0058
0059
0060
0061 bool NoWires() const { return nowires; }
0062
0063
0064
0065
0066 Standard_EXPORT const Geom2dAdaptor_Curve& Edge() const;
0067
0068
0069
0070 Standard_EXPORT double EdgeParameter() const;
0071
0072
0073
0074 IntRes2d_Position Position() const { return myPosition; }
0075
0076 protected:
0077 Geom2dHatch_FClass2dOfClassifier myClassifier;
0078 Geom2dAdaptor_Curve myEdge;
0079 double myEdgeParameter;
0080 IntRes2d_Position myPosition;
0081 bool rejected;
0082 bool nowires;
0083 };
0084
0085 #endif