b311480e |
1 | -- Created on: 2000-02-05 |
2 | -- Created by: data exchange team |
973c2be1 |
3 | -- Copyright (c) 2000-2014 OPEN CASCADE SAS |
b311480e |
4 | -- |
973c2be1 |
5 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
6 | -- |
d5f74e42 |
7 | -- This library is free software; you can redistribute it and/or modify it under |
8 | -- the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
9 | -- by the Free Software Foundation, with special exception defined in the file |
10 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
11 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
12 | -- |
973c2be1 |
13 | -- Alternatively, this file may be used under the terms of Open CASCADE |
14 | -- commercial license or contractual agreement. |
7fd59977 |
15 | |
16 | class IGESBoundary from IGESControl inherits IGESBoundary from IGESToBRep |
17 | |
18 | ---Purpose: Translates IGES boundary entity (types 141, 142 and 508) |
19 | -- in Advanced Data Exchange. |
20 | -- Redefines translation and treatment methods from inherited |
21 | -- open class IGESToBRep_IGESBoundary. |
22 | |
23 | uses |
24 | |
25 | IGESEntity from IGESData, |
26 | HArray1OfIGESEntity from IGESData, |
27 | CurveAndSurface from IGESToBRep, |
28 | WireData from ShapeExtend |
29 | |
30 | is |
31 | |
6e33d3ce |
32 | Create returns IGESBoundary from IGESControl; |
7fd59977 |
33 | ---Purpose: Creates an object and calls inherited constuctor. |
34 | |
6e33d3ce |
35 | Create (CS: CurveAndSurface from IGESToBRep) returns IGESBoundary from IGESControl; |
7fd59977 |
36 | ---Purpose: Creates an object and calls inherited constuctor. |
37 | |
38 | Check (me: mutable; result, checkclosure, okCurve3d, okCurve2d: Boolean) is redefined; |
39 | ---Purpose: Checks result of translation of IGES boundary entities |
40 | -- (types 141, 142 or 508). |
41 | -- Checks consistency of 2D and 3D representations and keeps |
42 | -- only one if they are inconsistent. |
43 | -- Checks the closure of resulting wire and if it is not closed, |
44 | -- checks 2D and 3D representation and updates the resulting |
45 | -- wire to contain only closed representation. |
46 | ---Remark : If resulting representation will be 3D, some edges may still |
47 | -- contain pcurves which are consistent with 3D curves for the |
48 | -- given edge. |
49 | |
50 | ---Level: Internal |
51 | |
52 | Transfer (me: mutable; okCurve : in out Boolean; |
53 | okCurve3d : in out Boolean; |
54 | okCurve2d : in out Boolean; |
55 | icurve3d : IGESEntity from IGESData; |
56 | scurve3d : WireData from ShapeExtend; |
57 | usescurve : Boolean; |
58 | toreverse3d: Boolean; |
59 | curves2d : HArray1OfIGESEntity from IGESData; |
60 | toreverse2d: Boolean; |
61 | number : Integer; |
62 | lsewd : out WireData from ShapeExtend) |
63 | returns Boolean is redefined protected; |
64 | |
65 | end IGESBoundary; |