973c2be1 |
1 | // Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
2 | // |
973c2be1 |
3 | // This file is part of Open CASCADE Technology software library. |
b311480e |
4 | // |
d5f74e42 |
5 | // This library is free software; you can redistribute it and/or modify it under |
6 | // the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
7 | // by the Free Software Foundation, with special exception defined in the file |
8 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
9 | // distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
10 | // |
973c2be1 |
11 | // Alternatively, this file may be used under the terms of Open CASCADE |
12 | // commercial license or contractual agreement. |
b311480e |
13 | |
42cf5bc1 |
14 | |
15 | #include <Standard_Type.hxx> |
16 | #include <StepShape_LimitsAndFits.hxx> |
17 | #include <TCollection_HAsciiString.hxx> |
7fd59977 |
18 | |
25e59720 |
19 | IMPLEMENT_STANDARD_RTTIEXT(StepShape_LimitsAndFits,Standard_Transient) |
92efcf78 |
20 | |
7fd59977 |
21 | StepShape_LimitsAndFits::StepShape_LimitsAndFits () { } |
22 | |
23 | void StepShape_LimitsAndFits::Init |
24 | (const Handle(TCollection_HAsciiString)& form_variance, |
25 | const Handle(TCollection_HAsciiString)& zone_variance, |
26 | const Handle(TCollection_HAsciiString)& grade, |
27 | const Handle(TCollection_HAsciiString)& source) |
28 | { |
29 | theFormVariance = form_variance; |
30 | theZoneVariance = zone_variance; |
31 | theGrade = grade; |
32 | theSource = source; |
33 | } |
34 | |
35 | Handle(TCollection_HAsciiString) StepShape_LimitsAndFits::FormVariance () const |
36 | { return theFormVariance; } |
37 | |
38 | void StepShape_LimitsAndFits::SetFormVariance |
39 | (const Handle(TCollection_HAsciiString)& form_variance) |
40 | { theFormVariance = form_variance; } |
41 | |
42 | Handle(TCollection_HAsciiString) StepShape_LimitsAndFits::ZoneVariance () const |
43 | { return theZoneVariance; } |
44 | |
45 | void StepShape_LimitsAndFits::SetZoneVariance |
46 | (const Handle(TCollection_HAsciiString)& zone_variance) |
47 | { theZoneVariance = zone_variance; } |
48 | |
49 | Handle(TCollection_HAsciiString) StepShape_LimitsAndFits::Grade () const |
50 | { return theGrade; } |
51 | |
52 | void StepShape_LimitsAndFits::SetGrade |
53 | (const Handle(TCollection_HAsciiString)& grade) |
54 | { theGrade = grade; } |
55 | |
56 | Handle(TCollection_HAsciiString) StepShape_LimitsAndFits::Source () const |
57 | { return theSource; } |
58 | |
59 | void StepShape_LimitsAndFits::SetSource |
60 | (const Handle(TCollection_HAsciiString)& source) |
61 | { theSource = source; } |