summaryrefslogtreecommitdiff
path: root/src/IGESDimen/IGESDimen_DimensionTolerance.cxx
blob: aee62c1ad2334a267b7eb68c061ef8ba7abf3990 (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
66
67
68
69
70
71
72
73
74
75
76
77
78
//--------------------------------------------------------------------
//
//  File Name : IGESDimen_DimensionTolerance.cxx
//  Date      :
//  Author    : CKY / Contract Toubro-Larsen
//  Copyright : MATRA-DATAVISION 1993
//
//--------------------------------------------------------------------

#include <IGESDimen_DimensionTolerance.ixx>

    IGESDimen_DimensionTolerance::IGESDimen_DimensionTolerance ()    {  }


    void  IGESDimen_DimensionTolerance::Init
  (const Standard_Integer nbPropVal,
   const Standard_Integer aSecTolFlag,   const Standard_Integer aTolType,
   const Standard_Integer aTolPlaceFlag, const Standard_Real    anUpperTol,
   const Standard_Real    aLowerTol,     const Standard_Boolean aSignFlag,
   const Standard_Integer aFracFlag,     const Standard_Integer aPrecision)
{
  theNbPropertyValues = nbPropVal;
  theSecondaryToleranceFlag = aSecTolFlag;
  theToleranceType          = aTolType;
  theTolerancePlacementFlag = aTolPlaceFlag;
  theUpperTolerance         = anUpperTol;
  theLowerTolerance         = aLowerTol;
  theSignSuppressionFlag    = aSignFlag;
  theFractionFlag           = aFracFlag;
  thePrecision              = aPrecision;
  InitTypeAndForm(406,29);
}


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

    Standard_Integer  IGESDimen_DimensionTolerance::SecondaryToleranceFlag () const
{
  return theSecondaryToleranceFlag;
}

    Standard_Integer  IGESDimen_DimensionTolerance::ToleranceType () const
{
  return theToleranceType;
}

    Standard_Integer  IGESDimen_DimensionTolerance::TolerancePlacementFlag () const
{
  return theTolerancePlacementFlag;
}

    Standard_Real  IGESDimen_DimensionTolerance::UpperTolerance () const
{
  return theUpperTolerance;
}

    Standard_Real  IGESDimen_DimensionTolerance::LowerTolerance () const
{
  return theLowerTolerance;
}

    Standard_Boolean  IGESDimen_DimensionTolerance::SignSuppressionFlag () const
{
  return theSignSuppressionFlag;
}

    Standard_Integer  IGESDimen_DimensionTolerance::FractionFlag () const
{
  return theFractionFlag;
}

    Standard_Integer  IGESDimen_DimensionTolerance::Precision () const
{
  return thePrecision;
}