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

#include <IGESAppli_RegionRestriction.ixx>


    IGESAppli_RegionRestriction::IGESAppli_RegionRestriction ()    {  }


    void  IGESAppli_RegionRestriction::Init
  (const Standard_Integer nbPropVal,  const Standard_Integer aViasRest,
   const Standard_Integer aCompoRest, const Standard_Integer aCktRest)
{
  theNbPropertyValues  = nbPropVal;
  theElectViasRestrict = aViasRest;
  theElectCompRestrict = aCompoRest;
  theElectCktRestrict  = aCktRest;
  InitTypeAndForm(406,2);
}


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

    Standard_Integer IGESAppli_RegionRestriction::ElectricalViasRestriction () const
{
  return theElectViasRestrict;
}

    Standard_Integer IGESAppli_RegionRestriction::ElectricalComponentRestriction
  () const
{
  return theElectCompRestrict;
}

    Standard_Integer IGESAppli_RegionRestriction::ElectricalCktRestriction () const
{
  return theElectCktRestrict;
}