b311480e |
1 | -- Created on: 1995-12-07 |
2 | -- Created by: EXPRESS->CDL V0.2 Translator |
3 | -- Copyright (c) 1995-1999 Matra Datavision |
973c2be1 |
4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | -- |
973c2be1 |
6 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
7 | -- |
d5f74e42 |
8 | -- This library is free software; you can redistribute it and/or modify it under |
9 | -- the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
10 | -- by the Free Software Foundation, with special exception defined in the file |
11 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
12 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
13 | -- |
973c2be1 |
14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. |
7fd59977 |
16 | |
17 | class GeometricRepresentationContextAndGlobalUnitAssignedContext from StepGeom |
18 | |
19 | inherits RepresentationContext from StepRepr |
20 | |
21 | |
22 | --- This classe is an implementation of EXPRESS |
23 | -- ANDOR Subtype Declaration. |
24 | uses |
25 | |
26 | GeometricRepresentationContext from StepGeom, |
27 | GlobalUnitAssignedContext from StepRepr, |
28 | HAsciiString from TCollection, |
29 | Integer from Standard, |
30 | HArray1OfNamedUnit from StepBasic, |
31 | NamedUnit from StepBasic |
32 | is |
33 | |
6e33d3ce |
34 | Create returns GeometricRepresentationContextAndGlobalUnitAssignedContext; |
7fd59977 |
35 | ---Purpose: Returns a GeometricRepresentationContextAndGlobalUnitAssignedContext |
36 | |
37 | |
38 | Init (me : mutable; |
6e33d3ce |
39 | aContextIdentifier : HAsciiString from TCollection; |
40 | aContextType : HAsciiString from TCollection) is redefined; |
7fd59977 |
41 | |
42 | Init (me : mutable; |
6e33d3ce |
43 | aContextIdentifier : HAsciiString from TCollection; |
44 | aContextType : HAsciiString from TCollection; |
45 | aGeometricRepresentationContext : GeometricRepresentationContext from StepGeom; |
46 | aGlobalUnitAssignedContext : GlobalUnitAssignedContext from StepRepr) is virtual; |
7fd59977 |
47 | |
48 | Init (me : mutable; |
6e33d3ce |
49 | aContextIdentifier : HAsciiString from TCollection; |
50 | aContextType : HAsciiString from TCollection; |
7fd59977 |
51 | aCoordinateSpaceDimension : Integer from Standard; |
6e33d3ce |
52 | aUnits : HArray1OfNamedUnit from StepBasic) is virtual; |
7fd59977 |
53 | |
54 | -- Specific Methods for Field Data Access -- |
55 | |
6e33d3ce |
56 | SetGeometricRepresentationContext(me : mutable; aGeometricRepresentationContext : GeometricRepresentationContext); |
57 | GeometricRepresentationContext (me) returns GeometricRepresentationContext; |
58 | SetGlobalUnitAssignedContext(me : mutable; aGlobalUnitAssignedContext : GlobalUnitAssignedContext); |
59 | GlobalUnitAssignedContext (me) returns GlobalUnitAssignedContext; |
7fd59977 |
60 | |
61 | -- Specific Methods for ANDOR Field Data Access -- |
62 | |
63 | SetCoordinateSpaceDimension(me : mutable; aCoordinateSpaceDimension : Integer); |
64 | CoordinateSpaceDimension (me) returns Integer; |
65 | |
66 | -- Specific Methods for ANDOR Field Data Access -- |
67 | |
6e33d3ce |
68 | SetUnits(me : mutable; aUnits : HArray1OfNamedUnit); |
69 | Units (me) returns HArray1OfNamedUnit; |
70 | UnitsValue (me; num : Integer) returns NamedUnit; |
7fd59977 |
71 | NbUnits (me) returns Integer; |
72 | |
73 | fields |
74 | |
75 | geometricRepresentationContext : GeometricRepresentationContext from StepGeom; |
76 | globalUnitAssignedContext : GlobalUnitAssignedContext from StepRepr; |
77 | |
78 | end GeometricRepresentationContextAndGlobalUnitAssignedContext; |