1 -- Created on: 1994-11-18
2 -- Created by: Marie Jose MARTZ
3 -- Copyright (c) 1994-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 GeomVector from GeomToIGES inherits GeomEntity from GeomToIGES
19 ---Purpose: This class implements the transfer of the Vector from Geom
20 -- to IGES . These can be :
23 -- * VectorWithMagnitude
28 VectorWithMagnitude from Geom,
30 Direction from IGESGeom,
31 GeomEntity from GeomToIGES
35 Create returns GeomVector from GeomToIGES;
38 Create(GE : GeomEntity from GeomToIGES)
39 returns GeomVector from GeomToIGES;
40 ---Purpose : Creates a tool GeomVector ready to run and sets its
43 TransferVector (me : in out;
44 start : Vector from Geom)
45 returns Direction from IGESGeom;
46 ---Purpose : Transfert a GeometryEntity which answer True to the
47 -- member : BRepToIGES::IsGeomVector(Geometry). If this
48 -- Entity could not be converted, this member returns a NullEntity.
51 TransferVector (me : in out;
52 start : VectorWithMagnitude from Geom)
53 returns Direction from IGESGeom;
56 TransferVector (me : in out;
57 start : Direction from Geom)
58 returns Direction from IGESGeom;