// 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 _TopOpeBRepDS_Check_HeaderFile #define _TopOpeBRepDS_Check_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_TopOpeBRepDS_Check_HeaderFile #include #endif #ifndef _Handle_TopOpeBRepDS_HDataStructure_HeaderFile #include #endif #ifndef _TopOpeBRepDS_DataMapOfCheckStatus_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _MMgt_TShared_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _TopOpeBRepDS_Kind_HeaderFile #include #endif #ifndef _Standard_OStream_HeaderFile #include #endif #ifndef _Standard_CString_HeaderFile #include #endif #ifndef _TopOpeBRepDS_CheckStatus_HeaderFile #include #endif #ifndef _TopAbs_ShapeEnum_HeaderFile #include #endif class TopOpeBRepDS_HDataStructure; class TopOpeBRepDS_ListOfInterference; class TopTools_ListOfShape; class TopOpeBRepDS_DataMapOfCheckStatus; //! a tool verifing integrity and structure of DS
class TopOpeBRepDS_Check : public MMgt_TShared { public: Standard_EXPORT TopOpeBRepDS_Check(); Standard_EXPORT TopOpeBRepDS_Check(const Handle(TopOpeBRepDS_HDataStructure)& HDS); //! Check integrition of DS
Standard_EXPORT Standard_Boolean ChkIntg() ; //! Check integrition of interferences
//! (les supports et les geometries de LI)
Standard_EXPORT Standard_Boolean ChkIntgInterf(const TopOpeBRepDS_ListOfInterference& LI) ; //! Verifie que le ieme element de la DS existe, et
//! pour un K de type topologique, verifie qu'il est du
//! bon type (VERTEX, EDGE, WIRE, FACE, SHELL ou SOLID)
Standard_EXPORT Standard_Boolean CheckDS(const Standard_Integer i,const TopOpeBRepDS_Kind K) ; //! Check integrition des champs SameDomain de la DS
Standard_EXPORT Standard_Boolean ChkIntgSamDom() ; //! Verifie que les Shapes existent bien dans la DS
//! Utile pour les Shapes SameDomain
//! si la liste est vide, renvoie vrai
Standard_EXPORT Standard_Boolean CheckShapes(const TopTools_ListOfShape& LS) const; //! Verifie que les Vertex non SameDomain sont bien
//! nonSameDomain, que les vertex sameDomain sont bien
//! SameDomain, que les Points sont non confondus
//! ni entre eux, ni avec des Vertex.
Standard_EXPORT Standard_Boolean OneVertexOnPnt() ; Standard_EXPORT const Handle_TopOpeBRepDS_HDataStructure& HDS() const; Standard_EXPORT Handle_TopOpeBRepDS_HDataStructure& ChangeHDS() ; Standard_EXPORT Standard_OStream& PrintIntg(Standard_OStream& S) ; //! Prints the name of CheckStatus as a String
Standard_EXPORT Standard_OStream& Print(const TopOpeBRepDS_CheckStatus stat,Standard_OStream& S) ; //! Prints the name of CheckStatus as a String
Standard_EXPORT Standard_OStream& PrintShape(const TopAbs_ShapeEnum SE,Standard_OStream& S) ; //! Prints the name of CheckStatus as a String
Standard_EXPORT Standard_OStream& PrintShape(const Standard_Integer index,Standard_OStream& S) ; DEFINE_STANDARD_RTTI(TopOpeBRepDS_Check) protected: private: Standard_EXPORT Standard_OStream& PrintMap(TopOpeBRepDS_DataMapOfCheckStatus& MapStat,const Standard_CString eltstr,Standard_OStream& S) ; Standard_EXPORT Standard_OStream& PrintElts(TopOpeBRepDS_DataMapOfCheckStatus& MapStat,const TopOpeBRepDS_CheckStatus Stat,Standard_Boolean& b,Standard_OStream& S) ; Handle_TopOpeBRepDS_HDataStructure myHDS; TopOpeBRepDS_DataMapOfCheckStatus myMapSurfaceStatus; Standard_Boolean mySurfaceDone; TopOpeBRepDS_DataMapOfCheckStatus myMapCurveStatus; Standard_Boolean myCurveDone; TopOpeBRepDS_DataMapOfCheckStatus myMapPointStatus; Standard_Boolean myPointDone; TopOpeBRepDS_DataMapOfCheckStatus myMapShapeStatus; Standard_Boolean myShapeDone; Standard_Boolean myDone; }; // other Inline functions and methods (like "C++: function call" methods) #endif