b311480e |
1 | -- Created on: 1993-01-11 |
2 | -- Created by: CKY / Contract Toubro-Larsen ( Arun MENON ) |
3 | -- Copyright (c) 1993-1999 Matra Datavision |
4 | -- Copyright (c) 1999-2012 OPEN CASCADE SAS |
7fd59977 |
5 | -- |
b311480e |
6 | -- The content of this file is subject to the Open CASCADE Technology Public |
7 | -- License Version 6.5 (the "License"). You may not use the content of this file |
8 | -- except in compliance with the License. Please obtain a copy of the License |
9 | -- at http://www.opencascade.org and read it completely before using this file. |
7fd59977 |
10 | -- |
b311480e |
11 | -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
12 | -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
7fd59977 |
13 | -- |
b311480e |
14 | -- The Original Code and all software distributed under the License is |
15 | -- distributed on an "AS IS" basis, without warranty of any kind, and the |
16 | -- Initial Developer hereby disclaims all such warranties, including without |
17 | -- limitation, any warranties of merchantability, fitness for a particular |
18 | -- purpose or non-infringement. Please see the License for the specific terms |
19 | -- and conditions governing the rights and limitations under the License. |
20 | |
7fd59977 |
21 | |
22 | class RegionRestriction from IGESAppli inherits IGESEntity |
23 | |
24 | ---Purpose: defines RegionRestriction, Type <406> Form <2> |
25 | -- in package IGESAppli |
26 | -- Defines regions to set an application's restriction |
27 | -- over a region. |
28 | |
29 | uses Integer -- no one specific type |
30 | |
31 | is |
32 | |
33 | Create returns mutable RegionRestriction; |
34 | |
35 | -- Specific Methods pertaining to the class |
36 | |
37 | Init (me : mutable; |
38 | nbPropVal : Integer; |
39 | aViasRest : Integer; |
40 | aCompoRest : Integer; |
41 | aCktRest : Integer); |
42 | ---Purpose : This method is used to set the fields of the class |
43 | -- RegionRestriction |
44 | -- - nbPropVal : Number of property values, always = 3 |
45 | -- - aViasRest : Electrical Vias restriction |
46 | -- - aCompoRest : Electrical components restriction |
47 | -- - aCktRest : Electrical circuitry restriction |
48 | |
49 | NbPropertyValues (me) returns Integer; |
50 | ---Purpose : is always 3 |
51 | |
52 | ElectricalViasRestriction (me) returns Integer; |
53 | ---Purpose : returns the Electrical vias restriction |
54 | -- is 0, 1 or 2 |
55 | |
56 | ElectricalComponentRestriction (me) returns Integer; |
57 | ---Purpose : returns the Electrical components restriction |
58 | -- is 0, 1 or 2 |
59 | |
60 | ElectricalCktRestriction (me) returns Integer; |
61 | ---Purpose : returns the Electrical circuitry restriction |
62 | -- is 0, 1 or 2 |
63 | |
64 | fields |
65 | |
66 | -- |
67 | -- Class : IGESAppli_RegionRestriction |
68 | -- |
69 | -- Purpose : Declaration of variables specific to the definition |
70 | -- of the Class RegionRestriction. |
71 | -- |
72 | -- Reminder : A RegionRestriction instance is defined by : |
73 | -- - Number of property values (always = 3) |
74 | -- - Electrical vias restriction |
75 | -- - Electrical components restriction |
76 | -- - Electrical circuitry restriction |
77 | |
78 | theNbPropertyValues : Integer; |
79 | theElectViasRestrict : Integer; |
80 | theElectCompRestrict : Integer; |
81 | theElectCktRestrict : Integer; |
82 | |
83 | end RegionRestriction; |