0023024: Update headers of OCCT files
[occt.git] / src / PDataXtd / PDataXtd_PatternStd.lxx
CommitLineData
b311480e 1// Created on: 1998-02-16
2// Created by: Jing Cheng MEI
3// Copyright (c) 1998-1999 Matra Datavision
4// Copyright (c) 1999-2012 OPEN CASCADE SAS
5//
6// The content of this file is subject to the Open CASCADE Technology Public
7// License Version 6.5 (the "License"). You may not use the content of this file
8// except in compliance with the License. Please obtain a copy of the License
9// at http://www.opencascade.org and read it completely before using this file.
10//
11// The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12// main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13//
14// The Original Code and all software distributed under the License is
15// distributed on an "AS IS" basis, without warranty of any kind, and the
16// Initial Developer hereby disclaims all such warranties, including without
17// limitation, any warranties of merchantability, fitness for a particular
18// purpose or non-infringement. Please see the License for the specific terms
19// and conditions governing the rights and limitations under the License.
20
7fd59977 21// modified Sergey Zaritchny
22
23//=======================================================================
24//function : Signature
25//purpose :
26//=======================================================================
27
28inline void PDataXtd_PatternStd::Signature(const Standard_Integer signature)
29{
30 mySignature = signature;
31}
32
33//=======================================================================
34//function : Axis1Reversed
35//purpose :
36//=======================================================================
37
38inline void PDataXtd_PatternStd::Axis1Reversed(const Standard_Boolean Axis1Reversed)
39{
40 myAxis1Reversed = Axis1Reversed;
41}
42
43//=======================================================================
44//function : Axis2Reversed
45//purpose :
46//=======================================================================
47
48inline void PDataXtd_PatternStd::Axis2Reversed(const Standard_Boolean Axis2Reversed)
49{
50 myAxis2Reversed = Axis2Reversed;
51}
52//=======================================================================
53//function : Axis1
54//purpose :
55//=======================================================================
56
57inline void PDataXtd_PatternStd::Axis1(const Handle(PNaming_NamedShape)& Axis1)
58{
59 myAxis1 = Axis1;
60}
61
62//=======================================================================
63//function : Axis2
64//purpose :
65//=======================================================================
66
67inline void PDataXtd_PatternStd::Axis2(const Handle(PNaming_NamedShape)& Axis2)
68{
69 myAxis2 = Axis2;
70}
71
72//=======================================================================
73//function : Value1
74//purpose :
75//=======================================================================
76
77inline void PDataXtd_PatternStd::Value1(const Handle(PDataStd_Real)& Value1)
78{
79 myValue1 = Value1;
80}
81
82//=======================================================================
83//function : Value2
84//purpose :
85//=======================================================================
86
87inline void PDataXtd_PatternStd::Value2(const Handle(PDataStd_Real)& Value2)
88{
89 myValue2 = Value2;
90}
91
92//=======================================================================
93//function : NbInstances1
94//purpose :
95//=======================================================================
96
97inline void PDataXtd_PatternStd::NbInstances1(const Handle(PDataStd_Integer)& NbInstances1)
98{
99 myNb1 = NbInstances1;
100}
101
102//=======================================================================
103//function : NbInstances2
104//purpose :
105//=======================================================================
106
107inline void PDataXtd_PatternStd::NbInstances2(const Handle(PDataStd_Integer)& NbInstances2)
108{
109 myNb2 = NbInstances2;
110}
111
112//=======================================================================
113//function : Mirror
114//purpose :
115//=======================================================================
116
117inline void PDataXtd_PatternStd::Mirror(const Handle(PNaming_NamedShape)& plane)
118{
119 myMirror = plane;
120}
121
122//=======================================================================
123//function : Signature
124//purpose :
125//=======================================================================
126
127inline Standard_Integer PDataXtd_PatternStd::Signature() const
128{
129 return mySignature;
130}
131
132//=======================================================================
133//function : Axis1Reversed
134//purpose :
135//=======================================================================
136
137inline Standard_Boolean PDataXtd_PatternStd::Axis1Reversed() const
138{
139 return myAxis1Reversed;
140}
141
142
143//=======================================================================
144//function : Axis2Reversed
145//purpose :
146//=======================================================================
147
148inline Standard_Boolean PDataXtd_PatternStd::Axis2Reversed() const
149{
150 return myAxis2Reversed;
151}
152
153//=======================================================================
154//function : Axis1
155//purpose :
156//=======================================================================
157
158inline Handle(PNaming_NamedShape) PDataXtd_PatternStd::Axis1() const
159{
160 return myAxis1;
161}
162
163//=======================================================================
164//function : Axis2
165//purpose :
166//=======================================================================
167
168inline Handle(PNaming_NamedShape) PDataXtd_PatternStd::Axis2() const
169{
170 return myAxis2;
171}
172
173//=======================================================================
174//function : Value1
175//purpose :
176//=======================================================================
177
178inline Handle(PDataStd_Real) PDataXtd_PatternStd::Value1() const
179{
180 return myValue1;
181}
182
183//=======================================================================
184//function : Value2
185//purpose :
186//=======================================================================
187
188inline Handle(PDataStd_Real) PDataXtd_PatternStd::Value2() const
189{
190 return myValue2;
191}
192
193//=======================================================================
194//function : NbInstances1
195//purpose :
196//=======================================================================
197
198inline Handle(PDataStd_Integer) PDataXtd_PatternStd::NbInstances1() const
199{
200 return myNb1;
201}
202
203//=======================================================================
204//function : NbInstances2
205//purpose :
206//=======================================================================
207
208inline Handle(PDataStd_Integer) PDataXtd_PatternStd::NbInstances2() const
209{
210 return myNb2;
211}
212
213//=======================================================================
214//function : Mirror
215//purpose :
216//=======================================================================
217
218inline Handle(PNaming_NamedShape) PDataXtd_PatternStd::Mirror() const
219{
220 return myMirror;
221}
222