#include //#include #include #include //#define PRINTDEB #define pbgraphtool IFGraph_StrongComponants::IFGraph_StrongComponants (const Interface_Graph& agraph, const Standard_Boolean whole) : IFGraph_SubPartsIterator (agraph, whole) { } void IFGraph_StrongComponants::Evaluate () { Interface_GraphContent iter = Loaded(); Interface_Graph G(thegraph); G.GetFromIter(iter,0); #ifdef pbgraphtool Standard_Integer nb = G.Size(); for (Standard_Integer i = 1; i <= nb; i ++) { if (!G.IsPresent(i)) continue; AddPart(); GetFromEntity (G.Entity(i),Standard_False); } #else #ifdef PRINTDEB cout<<"StrongComponants :"<