0025266: Debug statements in the source are getting flushed on to the console
[occt.git] / src / GeomToIGES / GeomToIGES_GeomVector.cdl
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
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
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.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
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)
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.
49
50
51     TransferVector   (me    : in out;
52                       start : VectorWithMagnitude from Geom)
53          returns Direction from IGESGeom;
54
55
56     TransferVector   (me    : in out;
57                       start : Direction from Geom)
58          returns Direction from IGESGeom;
59
60
61 end GeomVector;
62
63