mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-02 01:36:43 +08:00
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast Wrong license statements corrected in several files. Copyright and license statements added in XSD and GLSL files. Copyright year updated in some files. Obsolete documentation files removed from DrawResources.
66 lines
2.7 KiB
Plaintext
66 lines
2.7 KiB
Plaintext
-- Created on: 2000-02-05
|
|
-- Created by: data exchange team
|
|
-- Copyright (c) 2000-2014 OPEN CASCADE SAS
|
|
--
|
|
-- This file is part of Open CASCADE Technology software library.
|
|
--
|
|
-- This library is free software; you can redistribute it and/or modify it under
|
|
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
|
-- by the Free Software Foundation, with special exception defined in the file
|
|
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
|
-- distribution for complete text of the license and disclaimer of any warranty.
|
|
--
|
|
-- Alternatively, this file may be used under the terms of Open CASCADE
|
|
-- commercial license or contractual agreement.
|
|
|
|
class IGESBoundary from IGESControl inherits IGESBoundary from IGESToBRep
|
|
|
|
---Purpose: Translates IGES boundary entity (types 141, 142 and 508)
|
|
-- in Advanced Data Exchange.
|
|
-- Redefines translation and treatment methods from inherited
|
|
-- open class IGESToBRep_IGESBoundary.
|
|
|
|
uses
|
|
|
|
IGESEntity from IGESData,
|
|
HArray1OfIGESEntity from IGESData,
|
|
CurveAndSurface from IGESToBRep,
|
|
WireData from ShapeExtend
|
|
|
|
is
|
|
|
|
Create returns mutable IGESBoundary from IGESControl;
|
|
---Purpose: Creates an object and calls inherited constuctor.
|
|
|
|
Create (CS: CurveAndSurface from IGESToBRep) returns mutable IGESBoundary from IGESControl;
|
|
---Purpose: Creates an object and calls inherited constuctor.
|
|
|
|
Check (me: mutable; result, checkclosure, okCurve3d, okCurve2d: Boolean) is redefined;
|
|
---Purpose: Checks result of translation of IGES boundary entities
|
|
-- (types 141, 142 or 508).
|
|
-- Checks consistency of 2D and 3D representations and keeps
|
|
-- only one if they are inconsistent.
|
|
-- Checks the closure of resulting wire and if it is not closed,
|
|
-- checks 2D and 3D representation and updates the resulting
|
|
-- wire to contain only closed representation.
|
|
---Remark : If resulting representation will be 3D, some edges may still
|
|
-- contain pcurves which are consistent with 3D curves for the
|
|
-- given edge.
|
|
|
|
---Level: Internal
|
|
|
|
Transfer (me: mutable; okCurve : in out Boolean;
|
|
okCurve3d : in out Boolean;
|
|
okCurve2d : in out Boolean;
|
|
icurve3d : IGESEntity from IGESData;
|
|
scurve3d : WireData from ShapeExtend;
|
|
usescurve : Boolean;
|
|
toreverse3d: Boolean;
|
|
curves2d : HArray1OfIGESEntity from IGESData;
|
|
toreverse2d: Boolean;
|
|
number : Integer;
|
|
lsewd : out WireData from ShapeExtend)
|
|
returns Boolean is redefined protected;
|
|
|
|
end IGESBoundary;
|