7fd59977 |
1 | -- File: BOPTools_Curve.cdl |
2 | -- Created: Tue May 8 13:07:58 2001 |
3 | -- Author: Peter KURNEV |
4 | -- <pkv@irinox> |
5 | ---Copyright: Matra Datavision 2001 |
6 | |
7 | |
8 | class Curve from BOPTools |
9 | |
10 | ---Purpose: |
11 | -- Class holds the structure for storing information about |
12 | --- intersection curve and set of paves on it |
13 | --- |
14 | |
15 | uses |
16 | ListOfInteger from TColStd, |
17 | Curve from IntTools, |
18 | PaveSet from BOPTools, |
19 | PaveBlock from BOPTools, |
20 | ListOfPaveBlock from BOPTools |
21 | |
22 | |
23 | is |
24 | Create |
25 | returns Curve from BOPTools; |
26 | ---Purpose: |
27 | --- Empty constructor |
28 | --- |
29 | Create (aIC:Curve from IntTools) |
30 | returns Curve from BOPTools; |
31 | ---Purpose: |
32 | --- Constructor |
33 | --- |
34 | SetCurve(me:out; |
35 | aIC:Curve from IntTools); |
36 | ---Purpose: |
37 | --- Modifier |
38 | --- |
39 | Curve(me) |
40 | returns Curve from IntTools; |
41 | ---C++: return const & |
42 | ---Purpose: |
43 | --- Selector |
44 | --- |
45 | Set(me:out) |
46 | returns PaveSet from BOPTools; |
47 | ---C++: return & |
48 | ---Purpose: |
49 | --- Selector |
50 | --- |
51 | AppendNewBlock(me:out; |
52 | aPB:PaveBlock from BOPTools); |
53 | ---Purpose: |
54 | --- Adds the PaveBlock <aPB> to the pave set |
55 | --- |
56 | NewPaveBlocks(me) |
57 | returns ListOfPaveBlock from BOPTools; |
58 | ---C++: return const & |
59 | ---Purpose: |
60 | --- Returns the PaveBlock-s attached to the curve |
61 | --- |
62 | TechnoVertices (me:out) |
63 | returns ListOfInteger from TColStd; |
64 | ---C++: return & |
65 | ---Purpose: |
66 | --- Returns indices TechnoVertices attached to the curve |
67 | --- |
68 | |
69 | fields |
70 | myCurve : Curve from IntTools; |
71 | myPaveSet: PaveSet from BOPTools; |
72 | myNewPBs : ListOfPaveBlock from BOPTools; |
73 | myTechnoVertices : ListOfInteger from TColStd; |
74 | |
75 | end Curve; |