b311480e |
1 | -- Created on: 1995-01-27 |
2 | -- Created by: Marie Jose MARTZ |
3 | -- Copyright (c) 1995-1999 Matra Datavision |
973c2be1 |
4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | -- |
973c2be1 |
6 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
7 | -- |
973c2be1 |
8 | -- This library is free software; you can redistribute it and / or modify it |
9 | -- under the terms of the GNU Lesser General Public version 2.1 as published |
10 | -- by the Free Software Foundation, with special exception defined in the file |
11 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
12 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
13 | -- |
973c2be1 |
14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. |
7fd59977 |
16 | |
17 | class BRSolid from BRepToIGES inherits BREntity from BRepToIGES |
18 | |
19 | ---Purpose: This class implements the transfer of Shape Entities from Geom |
20 | -- To IGES. These can be : |
21 | -- . Vertex |
22 | -- . Edge |
23 | -- . Wire |
24 | |
25 | |
26 | uses |
27 | |
28 | Shape from TopoDS, |
29 | Solid from TopoDS, |
30 | CompSolid from TopoDS, |
31 | Compound from TopoDS, |
32 | IGESEntity from IGESData, |
33 | BREntity from BRepToIGES |
34 | |
35 | is |
36 | |
37 | Create returns BRSolid from BRepToIGES; |
38 | |
39 | |
40 | Create (BR : BREntity from BRepToIGES) |
41 | returns BRSolid from BRepToIGES; |
42 | |
43 | |
44 | TransferSolid (me : in out; |
45 | start : Shape from TopoDS) |
46 | returns mutable IGESEntity from IGESData; |
47 | ---Purpose : Transfert a Shape entity from TopoDS to IGES |
48 | -- this entity must be a Solid or a CompSolid or a Compound. |
49 | -- If this Entity could not be converted, this member returns a NullEntity. |
50 | |
51 | |
52 | TransferSolid (me : in out; |
53 | start : Solid from TopoDS) |
54 | returns mutable IGESEntity from IGESData; |
55 | ---Purpose : Transfert a Solid entity from TopoDS to IGES |
56 | -- If this Entity could not be converted, this member returns a NullEntity. |
57 | |
58 | |
59 | TransferCompSolid (me : in out; |
60 | start : CompSolid from TopoDS) |
61 | returns mutable IGESEntity from IGESData; |
62 | ---Purpose : Transfert an CompSolid entity from TopoDS to IGES |
63 | -- If this Entity could not be converted, this member returns a NullEntity. |
64 | |
65 | |
66 | TransferCompound (me : in out; |
67 | start : Compound from TopoDS) |
68 | returns mutable IGESEntity from IGESData; |
69 | ---Purpose : Transfert a Compound entity from TopoDS to IGES |
70 | -- If this Entity could not be converted, this member returns a NullEntity. |
71 | |
72 | |
73 | end BRSolid; |
74 | |
75 | |