1 -- Created on: 2000-02-05
2 -- Created by: data exchange team
3 -- Copyright (c) 2000-2012 OPEN CASCADE SAS
5 -- The content of this file is subject to the Open CASCADE Technology Public
6 -- License Version 6.5 (the "License"). You may not use the content of this file
7 -- except in compliance with the License. Please obtain a copy of the License
8 -- at http://www.opencascade.org and read it completely before using this file.
10 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
11 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13 -- The Original Code and all software distributed under the License is
14 -- distributed on an "AS IS" basis, without warranty of any kind, and the
15 -- Initial Developer hereby disclaims all such warranties, including without
16 -- limitation, any warranties of merchantability, fitness for a particular
17 -- purpose or non-infringement. Please see the License for the specific terms
18 -- and conditions governing the rights and limitations under the License.
22 class IGESBoundary from IGESControl inherits IGESBoundary from IGESToBRep
24 ---Purpose: Translates IGES boundary entity (types 141, 142 and 508)
25 -- in Advanced Data Exchange.
26 -- Redefines translation and treatment methods from inherited
27 -- open class IGESToBRep_IGESBoundary.
31 IGESEntity from IGESData,
32 HArray1OfIGESEntity from IGESData,
33 CurveAndSurface from IGESToBRep,
34 WireData from ShapeExtend
38 Create returns mutable IGESBoundary from IGESControl;
39 ---Purpose: Creates an object and calls inherited constuctor.
41 Create (CS: CurveAndSurface from IGESToBRep) returns mutable IGESBoundary from IGESControl;
42 ---Purpose: Creates an object and calls inherited constuctor.
44 Check (me: mutable; result, checkclosure, okCurve3d, okCurve2d: Boolean) is redefined;
45 ---Purpose: Checks result of translation of IGES boundary entities
46 -- (types 141, 142 or 508).
47 -- Checks consistency of 2D and 3D representations and keeps
48 -- only one if they are inconsistent.
49 -- Checks the closure of resulting wire and if it is not closed,
50 -- checks 2D and 3D representation and updates the resulting
51 -- wire to contain only closed representation.
52 ---Remark : If resulting representation will be 3D, some edges may still
53 -- contain pcurves which are consistent with 3D curves for the
58 Transfer (me: mutable; okCurve : in out Boolean;
59 okCurve3d : in out Boolean;
60 okCurve2d : in out Boolean;
61 icurve3d : IGESEntity from IGESData;
62 scurve3d : WireData from ShapeExtend;
65 curves2d : HArray1OfIGESEntity from IGESData;
68 lsewd : out WireData from ShapeExtend)
69 returns Boolean is redefined protected;