Integration of OCCT 6.5.0 from SVN
[occt.git] / src / IGESAppli / IGESAppli_LineWidening.cxx
CommitLineData
7fd59977 1//--------------------------------------------------------------------
2//
3// File Name : IGESAppli_LineWidening.cxx
4// Date :
5// Author : CKY / Contract Toubro-Larsen
6// Copyright : MATRA-DATAVISION 1993
7//
8//--------------------------------------------------------------------
9
10#include <IGESAppli_LineWidening.ixx>
11#include <IGESData_LevelListEntity.hxx>
12
13
14 IGESAppli_LineWidening::IGESAppli_LineWidening () { }
15
16
17 void IGESAppli_LineWidening::Init
18 (const Standard_Integer nbPropVal,
19 const Standard_Real aWidth, const Standard_Integer aCornering,
20 const Standard_Integer aExtnFlag, const Standard_Integer aJustifFlag,
21 const Standard_Real aExtnVal)
22{
23 theNbPropertyValues = nbPropVal;
24 theWidth = aWidth;
25 theCorneringCode = aCornering;
26 theExtensionFlag = aExtnFlag;
27 theJustificationFlag = aJustifFlag;
28 theExtensionValue = aExtnVal;
29 InitTypeAndForm(406,5);
30}
31
32
33 Standard_Integer IGESAppli_LineWidening::NbPropertyValues () const
34{
35 return theNbPropertyValues;
36}
37
38 Standard_Real IGESAppli_LineWidening::WidthOfMetalization () const
39{
40 return theWidth;
41}
42
43 Standard_Integer IGESAppli_LineWidening::CorneringCode () const
44{
45 return theCorneringCode;
46}
47
48 Standard_Integer IGESAppli_LineWidening::ExtensionFlag () const
49{
50 return theExtensionFlag;
51}
52
53 Standard_Integer IGESAppli_LineWidening::JustificationFlag () const
54{
55 return theJustificationFlag;
56}
57
58 Standard_Real IGESAppli_LineWidening::ExtensionValue () const
59{
60 return theExtensionValue;
61}