// 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. #include #include #include #include #include //#include IFGraph_SCRoots::IFGraph_SCRoots (const Interface_Graph& agraph, const Standard_Boolean whole) : IFGraph_StrongComponants (agraph,whole) { } IFGraph_SCRoots::IFGraph_SCRoots (IFGraph_StrongComponants& subparts) : IFGraph_StrongComponants (subparts) { } // StrongComponants racines d un ensemble donne // On ne tient pas compte du reste eventuel (c est un autre probleme) // On part du fait que StrongComponants donne les Composants dans l ordre de // dependance, le premier ne dependant de rien (les autres, on ne sait pas ...) void IFGraph_SCRoots::Evaluate () { IFGraph_StrongComponants complist (Model(),Standard_False); complist.GetFromIter(Loaded()); // Interface_Graph G(Model()); Interface_Graph G(thegraph); #ifdef OCCT_DEBUG cout<<" SCRoots:"<