// Created on: 1992-11-18 // Created by: Remi LEQUETTE // Copyright (c) 1992-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special exception defined in the file // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT // distribution for complete text of the license and disclaimer of any warranty. // // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. #ifndef _BRepClass_FacePassiveClassifier_HeaderFile #define _BRepClass_FacePassiveClassifier_HeaderFile #include #include #include #include #include #include #include #include #include #include #include class Standard_DomainError; class BRepClass_Edge; class BRepClass_Intersector; class gp_Lin2d; class BRepClass_FacePassiveClassifier { public: DEFINE_STANDARD_ALLOC Standard_EXPORT BRepClass_FacePassiveClassifier(); Standard_EXPORT void Reset (const gp_Lin2d& L, const Standard_Real P, const Standard_Real Tol); Standard_EXPORT void Compare (const BRepClass_Edge& E, const TopAbs_Orientation Or); Standard_Real Parameter() const; BRepClass_Intersector& Intersector(); Standard_Integer ClosestIntersection() const; TopAbs_State State() const; Standard_Boolean IsHeadOrEnd() const; protected: private: Standard_Boolean myIsSet; Standard_Boolean myFirstCompare; Standard_Boolean myFirstTrans; gp_Lin2d myLin; Standard_Real myParam; Standard_Real myTolerance; TopTrans_CurveTransition myTrans; BRepClass_Intersector myIntersector; Standard_Integer myClosest; TopAbs_State myState; Standard_Boolean myIsHeadOrEnd; }; #define TheEdge BRepClass_Edge #define TheEdge_hxx #define TheIntersector BRepClass_Intersector #define TheIntersector_hxx #define TopClass_Classifier2d BRepClass_FacePassiveClassifier #define TopClass_Classifier2d_hxx #include #undef TheEdge #undef TheEdge_hxx #undef TheIntersector #undef TheIntersector_hxx #undef TopClass_Classifier2d #undef TopClass_Classifier2d_hxx #endif // _BRepClass_FacePassiveClassifier_HeaderFile