summaryrefslogtreecommitdiff
path: root/src/IGESGraph/IGESGraph_NominalSize.cxx
blob: a05e93a256e686cb0cd34b2be88f533a53a44dbc (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
//--------------------------------------------------------------------
//
//  File Name : IGESGraph_NominalSize.cxx
//  Date      :
//  Author    : CKY / Contract Toubro-Larsen
//  Copyright : MATRA-DATAVISION 1993
//
//--------------------------------------------------------------------

#include <IGESGraph_NominalSize.ixx>


    IGESGraph_NominalSize::IGESGraph_NominalSize ()    {  }


    void IGESGraph_NominalSize::Init
  (const Standard_Integer          nbProps,
   const Standard_Real             aNominalSizeValue,
   const Handle(TCollection_HAsciiString)& aNominalSizeName,
   const Handle(TCollection_HAsciiString)& aStandardName)
{
  theNbPropertyValues = nbProps;
  theNominalSizeValue = aNominalSizeValue;
  theNominalSizeName  = aNominalSizeName;
  theStandardName     = aStandardName;
  InitTypeAndForm(406,13);
}

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

    Standard_Real IGESGraph_NominalSize::NominalSizeValue () const
{
  return theNominalSizeValue;
}

    Handle(TCollection_HAsciiString) IGESGraph_NominalSize::NominalSizeName () const
{
  return theNominalSizeName;
}

    Standard_Boolean IGESGraph_NominalSize::HasStandardName () const
{
  return (! theStandardName.IsNull() );
}

    Handle(TCollection_HAsciiString) IGESGraph_NominalSize::StandardName () const
{
  return theStandardName;
}