// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _TopOpeBRepBuild_ShellFaceClassifier_HeaderFile #define _TopOpeBRepBuild_ShellFaceClassifier_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _gp_Pnt_HeaderFile #include #endif #ifndef _TopoDS_Shell_HeaderFile #include #endif #ifndef _BRep_Builder_HeaderFile #include #endif #ifndef _TopOpeBRepTool_SolidClassifier_HeaderFile #include #endif #ifndef _TopTools_DataMapOfShapeShape_HeaderFile #include #endif #ifndef _TopoDS_Shape_HeaderFile #include #endif #ifndef _TopOpeBRepBuild_CompositeClassifier_HeaderFile #include #endif #ifndef _TopAbs_State_HeaderFile #include #endif class TopOpeBRepBuild_BlockBuilder; class TopoDS_Shape; //! Classify faces and shells.
//! shapes are Shells, Elements are Faces.
class TopOpeBRepBuild_ShellFaceClassifier : public TopOpeBRepBuild_CompositeClassifier { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } //! Creates a classifier in 3D space, to compare :
//! a face with a set of faces
//! a shell with a set of faces
//! a shell with a shell
Standard_EXPORT TopOpeBRepBuild_ShellFaceClassifier(const TopOpeBRepBuild_BlockBuilder& BB); Standard_EXPORT void Clear() ; //! classify shell with shell
Standard_EXPORT TopAbs_State CompareShapes(const TopoDS_Shape& B1,const TopoDS_Shape& B2) ; //! classify face with shell
Standard_EXPORT TopAbs_State CompareElementToShape(const TopoDS_Shape& F,const TopoDS_Shape& S) ; //! prepare classification involving shell
//! calls ResetElement on first face of
Standard_EXPORT void ResetShape(const TopoDS_Shape& S) ; //! prepare classification involving face
//! define 3D point (later used in Compare()) on first vertex of face .
Standard_EXPORT void ResetElement(const TopoDS_Shape& F) ; //! Add the face in the set of faces used in 3D point
//! classification.
Standard_EXPORT void CompareElement(const TopoDS_Shape& F) ; //! Returns state of classification of 3D point, defined by
//! ResetElement, with the current set of faces, defined by Compare.
Standard_EXPORT TopAbs_State State() ; protected: private: Standard_Boolean myFirstCompare; gp_Pnt myPoint3d; TopoDS_Shell myShell; BRep_Builder myBuilder; TopOpeBRepTool_SolidClassifier mySolidClassifier; TopTools_DataMapOfShapeShape myFaceShellMap; TopoDS_Shape myShape; }; // other Inline functions and methods (like "C++: function call" methods) #endif