7fd59977 |
1 | -- File: BOPTools_CheckResult.cdl |
2 | -- Created: Thu Sep 2 16:18:42 2004 |
3 | -- Author: Oleg FEDYAEV |
4 | -- <ofv@opencascade.com> |
5 | ---Copyright: Open Cascade 2004 |
6 | |
7 | class CheckResult from BOPTools |
8 | ---Purpose: contains information about faulty shapes |
9 | -- and faulty types |
10 | uses |
11 | |
12 | Shape from TopoDS, |
13 | ListOfShape from TopTools, |
14 | CheckStatus from BOPTools, |
15 | Geometry from Geom |
16 | |
17 | is |
18 | |
19 | Create |
20 | returns CheckResult; |
21 | ---Purpose: empty constructor |
22 | |
23 | AddShape(me: in out; TheShape: Shape from TopoDS); |
24 | ---Purpose: adds a shape with faulty to a list |
25 | |
26 | GetShapes(me) |
27 | returns ListOfShape from TopTools; |
28 | ---C++: return const & |
29 | ---Purpose: gets access to faulty shapes in a list const |
30 | |
31 | SetCheckStatus(me:in out; TheStatus: CheckStatus from BOPTools); |
32 | ---Purpose: sets faulty status for shapes |
33 | |
34 | GetCheckStatus(me) |
35 | returns CheckStatus from BOPTools; |
36 | ---Purpose: gets faulty status for shapes |
37 | |
38 | SetInterferenceGeometry(me: in out; TheGeometry: Geometry from Geom); |
39 | ---Purpose: sets an attached geometry to faulty shapes if any |
40 | |
41 | GetInterferenceGeometry(me) |
42 | returns Geometry from Geom; |
43 | ---C++: return const & |
44 | ---Purpose: gets an attached geometry to shapes if any |
45 | |
46 | fields |
47 | |
48 | myStatus : CheckStatus from BOPTools; |
49 | myShapes : ListOfShape from TopTools; |
50 | myGeometry : Geometry from Geom; |
51 | |
52 | end CheckResult; |