b311480e |
1 | -- Created on: 1994-11-18 |
2 | -- Created by: Marie Jose MARTZ |
3 | -- Copyright (c) 1994-1999 Matra Datavision |
973c2be1 |
4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | -- |
973c2be1 |
6 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
7 | -- |
d5f74e42 |
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 |
973c2be1 |
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. |
b311480e |
13 | -- |
973c2be1 |
14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. |
7fd59977 |
16 | |
17 | class GeomVector from GeomToIGES inherits GeomEntity from GeomToIGES |
18 | |
19 | ---Purpose: This class implements the transfer of the Vector from Geom |
20 | -- to IGES . These can be : |
21 | -- . Vector |
22 | -- * Direction |
23 | -- * VectorWithMagnitude |
24 | |
25 | uses |
26 | |
27 | Vector from Geom, |
28 | VectorWithMagnitude from Geom, |
29 | Direction from Geom, |
30 | Direction from IGESGeom, |
31 | GeomEntity from GeomToIGES |
32 | |
33 | is |
34 | |
35 | Create returns GeomVector from GeomToIGES; |
36 | |
37 | |
38 | Create(GE : GeomEntity from GeomToIGES) |
39 | returns GeomVector from GeomToIGES; |
40 | ---Purpose : Creates a tool GeomVector ready to run and sets its |
41 | -- fields as GE's. |
42 | |
43 | TransferVector (me : in out; |
44 | start : Vector from Geom) |
6e33d3ce |
45 | returns Direction from IGESGeom; |
7fd59977 |
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. |
49 | |
50 | |
51 | TransferVector (me : in out; |
52 | start : VectorWithMagnitude from Geom) |
6e33d3ce |
53 | returns Direction from IGESGeom; |
7fd59977 |
54 | |
55 | |
56 | TransferVector (me : in out; |
57 | start : Direction from Geom) |
6e33d3ce |
58 | returns Direction from IGESGeom; |
7fd59977 |
59 | |
60 | |
61 | end GeomVector; |
62 | |
63 | |