0032641: Coding - get rid of unused forward declarations [IGESAppli to LDOM]
[occt.git] / src / IGESGeom / IGESGeom_Direction.hxx
1 // Created on: 1993-01-09
2 // Created by: CKY / Contract Toubro-Larsen ( Kiran )
3 // Copyright (c) 1993-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 #ifndef _IGESGeom_Direction_HeaderFile
18 #define _IGESGeom_Direction_HeaderFile
19
20 #include <Standard.hxx>
21 #include <Standard_Type.hxx>
22
23 #include <gp_XYZ.hxx>
24 #include <IGESData_IGESEntity.hxx>
25 class gp_Vec;
26
27
28 class IGESGeom_Direction;
29 DEFINE_STANDARD_HANDLE(IGESGeom_Direction, IGESData_IGESEntity)
30
31 //! defines IGESDirection, Type <123> Form <0>
32 //! in package IGESGeom
33 //! A direction entity is a non-zero vector in Euclidean 3-space
34 //! that is defined by its three components (direction ratios)
35 //! with respect to the coordinate axes. If x, y, z are the
36 //! direction ratios then (x^2 + y^2 + z^2) > 0
37 class IGESGeom_Direction : public IGESData_IGESEntity
38 {
39
40 public:
41
42   
43   Standard_EXPORT IGESGeom_Direction();
44   
45   //! This method is used to set the fields of the class
46   //! Direction
47   //! - aDirection : Direction ratios, Z is 0 by default
48   Standard_EXPORT void Init (const gp_XYZ& aDirection);
49   
50   Standard_EXPORT gp_Vec Value() const;
51   
52   //! returns the Direction value after applying Transformation matrix
53   Standard_EXPORT gp_Vec TransformedValue() const;
54
55
56
57
58   DEFINE_STANDARD_RTTIEXT(IGESGeom_Direction,IGESData_IGESEntity)
59
60 protected:
61
62
63
64
65 private:
66
67
68   gp_XYZ theDirection;
69
70
71 };
72
73
74
75
76
77
78
79 #endif // _IGESGeom_Direction_HeaderFile