7fd59977 |
1 | //-------------------------------------------------------------------- |
2 | // |
3 | // File Name : IGESAppli_RegionRestriction.cxx |
4 | // Date : |
5 | // Author : CKY / Contract Toubro-Larsen |
6 | // Copyright : MATRA-DATAVISION 1993 |
7 | // |
8 | //-------------------------------------------------------------------- |
9 | |
10 | #include <IGESAppli_RegionRestriction.ixx> |
11 | |
12 | |
13 | IGESAppli_RegionRestriction::IGESAppli_RegionRestriction () { } |
14 | |
15 | |
16 | void IGESAppli_RegionRestriction::Init |
17 | (const Standard_Integer nbPropVal, const Standard_Integer aViasRest, |
18 | const Standard_Integer aCompoRest, const Standard_Integer aCktRest) |
19 | { |
20 | theNbPropertyValues = nbPropVal; |
21 | theElectViasRestrict = aViasRest; |
22 | theElectCompRestrict = aCompoRest; |
23 | theElectCktRestrict = aCktRest; |
24 | InitTypeAndForm(406,2); |
25 | } |
26 | |
27 | |
28 | Standard_Integer IGESAppli_RegionRestriction::NbPropertyValues () const |
29 | { |
30 | return theNbPropertyValues; |
31 | } |
32 | |
33 | Standard_Integer IGESAppli_RegionRestriction::ElectricalViasRestriction () const |
34 | { |
35 | return theElectViasRestrict; |
36 | } |
37 | |
38 | Standard_Integer IGESAppli_RegionRestriction::ElectricalComponentRestriction |
39 | () const |
40 | { |
41 | return theElectCompRestrict; |
42 | } |
43 | |
44 | Standard_Integer IGESAppli_RegionRestriction::ElectricalCktRestriction () const |
45 | { |
46 | return theElectCktRestrict; |
47 | } |