1 -- Created on: 1995-09-13
2 -- Created by: Marie Jose MARTZ
3 -- Copyright (c) 1995-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License 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.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class GeomEntity from GeomToIGES
20 ---Purpose : provides methods to transfer Geom entity from CASCADE to IGES.
25 IGESEntity from IGESData,
26 IGESModel from IGESData
31 returns GeomEntity from GeomToIGES;
32 ---Purpose : Creates a tool GeomEntity
34 Create(GE : GeomEntity from GeomToIGES)
35 returns GeomEntity from GeomToIGES;
36 ---Purpose : Creates a tool ready to run and sets its
39 SetModel(me : in out; model : IGESModel from IGESData);
40 ---Purpose : Set the value of "TheModel"
43 returns IGESModel from IGESData;
44 ---Purpose : Returns the value of "TheModel"
46 SetUnit(me: in out; unit: Real);
47 ---Purpose : Sets the value of the UnitFlag
50 returns Real from Standard;
51 ---Purpose : Returns the value of the UnitFlag of the header of the model
56 TheModel : IGESModel from IGESData ;
58 TheUnitFactor : Real from Standard;