7fd59977 |
1 | -- File: HLRBRep_Hider.cdl |
2 | -- Created: Thu Apr 17 19:43:52 1997 |
3 | -- Author: Christophe MARION |
4 | -- <cma@partox.paris1.matra-dtv.fr> |
5 | ---Copyright: Matra Datavision 1997 |
6 | |
7 | class Hider from HLRBRep |
8 | |
9 | uses |
10 | Integer from Standard, |
11 | Boolean from Standard, |
12 | Real from Standard, |
13 | ShortReal from Standard, |
14 | ListOfInteger from TColStd, |
15 | MapOfShapeTool from BRepTopAdaptor, |
16 | Data from HLRBRep |
17 | |
18 | is |
19 | Create(DS : Data from HLRBRep) |
20 | returns Hider from HLRBRep; |
21 | ---Purpose: Creates a Hider processing the set of Edges and |
22 | -- hiding faces described by <DS>. Stores the hidden |
23 | -- parts in <DS>. |
24 | |
25 | OwnHiding(me : in out; FI : Integer from Standard) |
26 | ---Purpose: own hiding the side face number <FI>. |
27 | is static; |
28 | |
29 | Hide(me : in out; FI : Integer from Standard; |
30 | MST: in out MapOfShapeTool from BRepTopAdaptor) |
31 | ---Purpose: Removes from the edges, the parts hidden by the |
32 | -- hiding face number <FI>. |
33 | is static; |
34 | |
35 | fields |
36 | myDS : Data from HLRBRep; |
37 | |
38 | end Hider; |