// Created on: 1994-04-18 // Created by: Laurent BUCHARD // Copyright (c) 1994-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 _BRepClass3d_SolidPassiveClassifier_HeaderFile #define _BRepClass3d_SolidPassiveClassifier_HeaderFile #include #include #include #include #include #include #include #include #include #include class Standard_DomainError; class BRepClass3d_Intersector3d; class gp_Lin; class TopoDS_Face; class BRepClass3d_SolidPassiveClassifier { public: DEFINE_STANDARD_ALLOC Standard_EXPORT BRepClass3d_SolidPassiveClassifier(); Standard_EXPORT void Reset (const gp_Lin& L, const Standard_Real P, const Standard_Real Tol); Standard_EXPORT void Compare (const TopoDS_Face& F, const TopAbs_Orientation Or); Standard_Real Parameter() const; Standard_EXPORT Standard_Boolean HasIntersection() const; BRepClass3d_Intersector3d& Intersector(); TopAbs_State State() const; protected: private: Standard_Boolean isSet; TopoDS_Face myFace; gp_Lin myLin; Standard_Real myParam; Standard_Real myTolerance; TopAbs_State myState; Standard_Boolean hasIntersect; BRepClass3d_Intersector3d myIntersector; }; #define TheIntersector BRepClass3d_Intersector3d #define TheIntersector_hxx #define TopClass_Classifier3d BRepClass3d_SolidPassiveClassifier #define TopClass_Classifier3d_hxx #include #undef TheIntersector #undef TheIntersector_hxx #undef TopClass_Classifier3d #undef TopClass_Classifier3d_hxx #endif // _BRepClass3d_SolidPassiveClassifier_HeaderFile