1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00
Files
occt/src/IFGraph/IFGraph_StrongComponants.cdl
2012-03-05 19:23:40 +04:00

28 lines
797 B
Plaintext
Executable File

-- File: StrongComponants.cdl
-- Created: Wed Sep 23 14:26:23 1992
-- Author: Christian CAILLET
-- <cky@phobox>
---Copyright: Matra Datavision 1992
class StrongComponants from IFGraph inherits SubPartsIterator
---Purpose : determines strong componants of a graph, that is
-- isolated entities (single componants) or loops
uses Graph
is
Create (agraph : Graph; whole : Boolean) returns StrongComponants;
---Purpose : creates with a Graph, and will analyse :
-- whole True : all the contents of the Model
-- whole False : sub-parts which will be given later
Evaluate (me : in out) is redefined;
---Purpose : does the computation
-- -- Iteration : More-Next-etc... will give strong componants
end StrongComponants;