0031668: Visualization - WebGL sample doesn't work on Emscripten 1.39
[occt.git] / src / TDataXtd / TDataXtd_PatternStd.lxx
1 // Created on: 2009-04-06
2 // Created by: Sergey ZARITCHNY
3 // Copyright (c) 2009-2014 OPEN CASCADE SAS
4 //
5 // This file is part of Open CASCADE Technology software library.
6 //
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
12 //
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
15
16 //=======================================================================
17 //function : Signature
18 //purpose  : 
19 //=======================================================================
20
21 inline Standard_Integer TDataXtd_PatternStd::Signature() const
22 {
23   return mySignature;
24 }
25
26 //=======================================================================
27 //function : Axis1
28 //purpose  : 
29 //=======================================================================
30
31 inline Handle(TNaming_NamedShape) TDataXtd_PatternStd::Axis1() const
32 {
33   return myAxis1;
34 }
35
36 //=======================================================================
37 //function : Axis2
38 //purpose  : 
39 //=======================================================================
40
41 inline Handle(TNaming_NamedShape) TDataXtd_PatternStd::Axis2() const
42 {
43   return myAxis2;
44 }
45
46 //=======================================================================
47 //function : Axis1Reversed
48 //purpose  : 
49 //=======================================================================
50
51 inline Standard_Boolean TDataXtd_PatternStd::Axis1Reversed() const
52 {
53   return myAxis1Reversed;
54 }
55
56 //=======================================================================
57 //function : Axis2Reversed
58 //purpose  : 
59 //=======================================================================
60
61 inline Standard_Boolean TDataXtd_PatternStd::Axis2Reversed() const
62 {
63   return myAxis2Reversed;
64 }
65
66 //=======================================================================
67 //function : Value1
68 //purpose  : 
69 //=======================================================================
70
71 inline Handle(TDataStd_Real) TDataXtd_PatternStd::Value1() const
72 {
73   return myValue1;
74 }
75
76 //=======================================================================
77 //function : Value2
78 //purpose  : 
79 //=======================================================================
80
81 inline Handle(TDataStd_Real) TDataXtd_PatternStd::Value2() const
82 {
83   return myValue2;
84 }
85
86 //=======================================================================
87 //function : NbInstances1
88 //purpose  : 
89 //=======================================================================
90
91 inline Handle(TDataStd_Integer) TDataXtd_PatternStd::NbInstances1() const
92 {
93   return myNb1;
94 }
95
96 //=======================================================================
97 //function : NbInstances2
98 //purpose  : 
99 //=======================================================================
100
101 inline Handle(TDataStd_Integer) TDataXtd_PatternStd::NbInstances2() const
102 {
103   return myNb2;
104 }
105
106 //=======================================================================
107 //function : Mirror
108 //purpose  : 
109 //=======================================================================
110
111 inline Handle(TNaming_NamedShape) TDataXtd_PatternStd::Mirror() const
112 {
113   return myMirror;
114 }
115