7fd59977 |
1 | -- File: IGESToBRep.cdl |
2 | -- Created: Tue Mar 22 16:47:32 1994 |
3 | -- Author: Frederic UNTEREINER |
4 | -- <fun@ecolox> |
5 | ---Copyright: Matra Datavision 1994 |
6 | |
7 | package IGESToBRep |
8 | |
9 | ---Purpose : Provides tools in order to transfer IGES entities |
10 | -- to CAS.CADE. |
11 | |
12 | uses |
13 | |
14 | Interface, |
15 | Transfer, |
16 | MoniTool, |
17 | Message, |
18 | IGESData, |
19 | IGESBasic, |
20 | IGESGeom, |
21 | IGESSolid, |
22 | gp, |
23 | Geom, |
24 | Geom2d, |
25 | TColGeom, |
26 | TColGeom2d, |
27 | TColStd, |
28 | TopoDS, |
29 | TopTools, |
30 | ShapeExtend, |
31 | ShapeAnalysis |
32 | |
33 | is |
34 | |
35 | class CurveAndSurface; |
36 | class BasicSurface; |
37 | class BasicCurve; |
38 | class TopoSurface; |
39 | class TopoCurve; |
40 | class BRepEntity; |
41 | |
42 | class IGESBoundary; |
43 | class Reader; |
44 | class Actor; |
45 | class AlgoContainer; |
46 | class ToolContainer; |
47 | |
48 | Init; |
49 | ---Purpose: Creates and initializes default AlgoContainer. |
50 | |
51 | SetAlgoContainer (aContainer: AlgoContainer from IGESToBRep); |
52 | ---Purpose: Sets default AlgoContainer |
53 | |
54 | AlgoContainer returns AlgoContainer from IGESToBRep; |
55 | ---Purpose: Returns default AlgoContainer |
56 | |
57 | IsCurveAndSurface(start : IGESEntity from IGESData) |
58 | returns Boolean; |
59 | ---Purpose: Return True if the IGESEntity can be transfered by |
60 | -- TransferCurveAndSurface. |
61 | -- ex: All IGESEntity from IGESGeom |
62 | |
63 | |
64 | IsBasicCurve (start : IGESEntity from IGESData) |
65 | returns Boolean; |
66 | ---Purpose: Return True if the IGESEntity can be transfered by |
67 | -- TransferBasicCurve. |
68 | -- ex: CircularArc, ConicArc, Line, CopiousData, |
69 | -- BSplineCurve, SplineCurve... from IGESGeom : |
70 | -- 104,110,112,126 |
71 | |
72 | |
73 | IsBasicSurface(start : IGESEntity from IGESData) |
74 | returns Boolean; |
75 | ---Purpose: Return True if the IGESEntity can be transfered by |
76 | -- TransferBasicSurface. |
77 | -- ex: BSplineSurface, SplineSurface... from IGESGeom : |
78 | -- 114,128 |
79 | |
80 | |
81 | IsTopoCurve(start : IGESEntity from IGESData) |
82 | returns Boolean; |
83 | ---Purpose: Return True if the IGESEntity can be transfered by |
84 | -- TransferTopoCurve. |
85 | -- ex: all Curves from IGESGeom : |
86 | -- all basic curves,102,130,142,144 |
87 | |
88 | |
89 | IsTopoSurface(start : IGESEntity from IGESData) |
90 | returns Boolean; |
91 | ---Purpose: Return True if the IGESEntity can be transfered by |
92 | -- TransferTopoSurface. |
93 | -- ex: All Surfaces from IGESGeom : |
94 | -- all basic surfaces,108,118,120,122,141,143 |
95 | |
96 | |
97 | IsBRepEntity (start : IGESEntity from IGESData) |
98 | returns Boolean; |
99 | ---Purpose: Return True if the IGESEntity can be transfered by |
100 | -- TransferBRepEntity. |
101 | -- ex: VertexList, EdgeList, Loop, Face, Shell, |
102 | -- Manifold Solid BRep Object from IGESSolid : |
103 | -- 502, 504, 508, 510, 514, 186. |
104 | |
105 | WriteShape(shape : Shape from TopoDS; |
106 | number : Integer from Standard); |
107 | ---Purpose: Creates a file Shape_'number' with the shape being |
108 | -- able to be restored by Draw. |
109 | |
110 | IGESCurveToSequenceOfIGESCurve (curve : IGESEntity from IGESData; |
111 | sequence: out HSequenceOfTransient from TColStd) |
112 | returns Integer; |
113 | |
114 | TransferPCurve (fromedge: Edge from TopoDS; |
115 | toedge : Edge from TopoDS; |
116 | face : Face from TopoDS) |
117 | returns Boolean; |
118 | |
119 | end IGESToBRep; |
120 | |
121 | |