Integration of OCCT 6.5.0 from SVN
[occt.git] / src / IFGraph / IFGraph_Cycles.cdl
CommitLineData
7fd59977 1-- File: Cycles.cdl
2-- Created: Wed Sep 23 14:28:44 1992
3-- Author: Christian CAILLET
4-- <cky@phobox>
5---Copyright: Matra Datavision 1992
6
7
8class Cycles from IFGraph inherits SubPartsIterator
9
10 ---Purpose : determines strong componants in a graph which are Cycles
11
12uses Graph, StrongComponants
13
14is
15
16 Create (agraph : Graph; whole : Boolean) returns Cycles;
17 ---Purpose : creates with a Graph, and will analyse :
18 -- whole True : all the contents of the Model
19 -- whole False : sub-parts which will be given later
20
21 Create (subparts : in out StrongComponants);
22 ---Purpose : creates from a StrongComponants which was already computed
23
24 Evaluate (me : in out) is redefined;
25 ---Purpose : does the computation. Cycles are StrongComponants which are
26 -- not Single
27
28 -- -- Iteration : More-Next-etc... will give Cycles
29
30end Cycles;