summaryrefslogtreecommitdiff
path: root/src/IGESBasic/IGESBasic_Hierarchy.cxx
blob: 679a4387ea52e7499097489f16f35125fac2f4eb (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
62
63
64
65
//--------------------------------------------------------------------
//
//  File Name : IGESBasic_Hierarchy.cxx
//  Date      :
//  Author    : CKY / Contract Toubro-Larsen
//  Copyright : MATRA-DATAVISION 1993
//
//--------------------------------------------------------------------

#include <IGESBasic_Hierarchy.ixx>

    IGESBasic_Hierarchy::IGESBasic_Hierarchy ()    {  }


    void  IGESBasic_Hierarchy::Init
  (const Standard_Integer nbPropVal,
   const Standard_Integer aLineFont,     const Standard_Integer aView,
   const Standard_Integer anEntityLevel, const Standard_Integer aBlankStatus,
   const Standard_Integer aLineWt,       const Standard_Integer aColorNum)
{
  theLineFont         = aLineFont;
  theView             = aView;
  theEntityLevel      = anEntityLevel;
  theBlankStatus      = aBlankStatus;
  theLineWeight       = aLineWt;
  theColorNum         = aColorNum;
  theNbPropertyValues = nbPropVal;
  InitTypeAndForm(406,10);
}


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

    Standard_Integer  IGESBasic_Hierarchy::NewLineFont () const
{
  return theLineFont;
}

    Standard_Integer  IGESBasic_Hierarchy::NewView () const
{
  return theView;
}

    Standard_Integer  IGESBasic_Hierarchy::NewEntityLevel () const
{
  return theEntityLevel;
}

    Standard_Integer  IGESBasic_Hierarchy::NewBlankStatus () const
{
  return theBlankStatus;
}

    Standard_Integer  IGESBasic_Hierarchy::NewLineWeight () const
{
  return theLineWeight;
}

    Standard_Integer  IGESBasic_Hierarchy::NewColorNum () const
{
  return theColorNum;
}