summaryrefslogtreecommitdiff
path: root/src/IGESAppli/IGESAppli_LineWidening.cxx
blob: c899f89b7fae2696f5264e9f32fe88b7f30360b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//--------------------------------------------------------------------
//
//  File Name : IGESAppli_LineWidening.cxx
//  Date      :
//  Author    : CKY / Contract Toubro-Larsen
//  Copyright : MATRA-DATAVISION 1993
//
//--------------------------------------------------------------------

#include <IGESAppli_LineWidening.ixx>
#include <IGESData_LevelListEntity.hxx>


    IGESAppli_LineWidening::IGESAppli_LineWidening ()    {  }


    void  IGESAppli_LineWidening::Init
  (const Standard_Integer nbPropVal,
   const Standard_Real    aWidth,    const Standard_Integer aCornering,
   const Standard_Integer aExtnFlag, const Standard_Integer aJustifFlag,
   const Standard_Real    aExtnVal)
{
  theNbPropertyValues  = nbPropVal;
  theWidth             = aWidth;
  theCorneringCode     = aCornering;
  theExtensionFlag     = aExtnFlag;
  theJustificationFlag = aJustifFlag;
  theExtensionValue    = aExtnVal;
  InitTypeAndForm(406,5);
}


    Standard_Integer  IGESAppli_LineWidening::NbPropertyValues () const
{
  return theNbPropertyValues;
}

    Standard_Real  IGESAppli_LineWidening::WidthOfMetalization () const
{
  return theWidth;
}

    Standard_Integer  IGESAppli_LineWidening::CorneringCode () const
{
  return theCorneringCode;
}

    Standard_Integer  IGESAppli_LineWidening::ExtensionFlag () const
{
  return theExtensionFlag;
}

    Standard_Integer  IGESAppli_LineWidening::JustificationFlag () const
{
  return theJustificationFlag;
}

    Standard_Real  IGESAppli_LineWidening::ExtensionValue () const
{
  return theExtensionValue;
}