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

#include <IGESAppli_PWBDrilledHole.ixx>

    IGESAppli_PWBDrilledHole::IGESAppli_PWBDrilledHole ()    {  }


    void  IGESAppli_PWBDrilledHole::Init
  (const Standard_Integer nbPropVal,
   const Standard_Real aDrillDia, const Standard_Real aFinishDia,
   const Standard_Integer aCode)
{
  theNbPropertyValues = nbPropVal;
  theDrillDiameter    = aDrillDia;
  theFinishDiameter   = aFinishDia;
  theFunctionCode     = aCode;
  InitTypeAndForm(406,26);
}


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

    Standard_Real  IGESAppli_PWBDrilledHole::DrillDiameterSize () const
{
  return theDrillDiameter;
}

    Standard_Real  IGESAppli_PWBDrilledHole::FinishDiameterSize () const
{
  return theFinishDiameter;
}

    Standard_Integer  IGESAppli_PWBDrilledHole::FunctionCode () const
{
  return theFunctionCode;
}