0024784: Move documentation in CDL files to proper location
[occt.git] / src / StepGeom / StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.cdl
CommitLineData
b311480e 1-- Created on: 1995-12-07
2-- Created by: Frederic MAUPAS
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
17class GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx from StepGeom
18
19 inherits RepresentationContext from StepRepr
20
21 -- This is a hand made implementation of EXPRESS ANDOR construct
22 -- It gather 3 Types :
23 -- GeometricRepresentationContext
24 -- GlobalUnitAssignedContext
25 -- GlobalUncertaintyAssignedContext
26 -- Common Supertype is RepresentationContext
27
28uses
29
30 GeometricRepresentationContext from StepGeom,
31 GlobalUnitAssignedContext from StepRepr,
32 GlobalUncertaintyAssignedContext from StepRepr,
33 HArray1OfUncertaintyMeasureWithUnit from StepBasic,
34 UncertaintyMeasureWithUnit from StepBasic,
35 HArray1OfNamedUnit from StepBasic,
36 NamedUnit from StepBasic,
37 HAsciiString from TCollection,
38 Integer from Standard
39
40
41is
42
6e33d3ce 43 Create returns GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx;
7fd59977 44
45 Init (me : mutable;
6e33d3ce 46 aContextIdentifier : HAsciiString from TCollection;
47 aContextType : HAsciiString from TCollection) is redefined;
7fd59977 48
49 Init(me : mutable;
6e33d3ce 50 aContextIdentifier : HAsciiString from TCollection;
51 aContextType : HAsciiString from TCollection;
52 aGeometricRepresentationCtx : GeometricRepresentationContext from StepGeom;
53 aGlobalUnitAssignedCtx : GlobalUnitAssignedContext from StepRepr;
54 aGlobalUncertaintyAssignedCtx : GlobalUncertaintyAssignedContext from StepRepr)
7fd59977 55 is virtual;
56
57 Init(me : mutable;
6e33d3ce 58 aContextIdentifier : HAsciiString from TCollection;
59 aContextType : HAsciiString from TCollection;
7fd59977 60 aCoordinateSpaceDimension : Integer from Standard;
6e33d3ce 61 aUnits : HArray1OfNamedUnit from StepBasic;
62 anUncertainty : HArray1OfUncertaintyMeasureWithUnit from StepBasic)
7fd59977 63 is virtual;
64
65 -- ====================================== --
66 -- Specific Methods for Field Data Access --
67 -- ====================================== --
68
69 SetGeometricRepresentationContext
70 (me : mutable;
6e33d3ce 71 aGeometricRepresentationContext : GeometricRepresentationContext);
7fd59977 72
73 GeometricRepresentationContext (me)
6e33d3ce 74 returns GeometricRepresentationContext;
7fd59977 75
76 SetGlobalUnitAssignedContext
77 (me : mutable;
6e33d3ce 78 aGlobalUnitAssignedContext : GlobalUnitAssignedContext);
7fd59977 79
80 GlobalUnitAssignedContext (me)
6e33d3ce 81 returns GlobalUnitAssignedContext;
7fd59977 82
83 SetGlobalUncertaintyAssignedContext
84 (me : mutable;
85 aGlobalUncertaintyAssignedCtx : GlobalUncertaintyAssignedContext from StepRepr);
86
87 GlobalUncertaintyAssignedContext(me)
88 returns GlobalUncertaintyAssignedContext from StepRepr;
89
90 -- ============================================================================= --
91 -- Specific Methods for ANDOR Field Data Access : GeometricRepresentationContext --
92 -- ============================================================================= --
93
94 SetCoordinateSpaceDimension(me : mutable; aCoordinateSpaceDimension : Integer);
95 CoordinateSpaceDimension (me) returns Integer;
96
97 -- ====================================================================== --
98 -- Specific Methods for ANDOR Field Data Access GlobalUnitAssignedContext --
99 -- ====================================================================== --
100
6e33d3ce 101 SetUnits(me : mutable; aUnits : HArray1OfNamedUnit);
102 Units (me) returns HArray1OfNamedUnit;
103 UnitsValue (me; num : Integer) returns NamedUnit;
7fd59977 104 NbUnits (me) returns Integer;
105
106 -- ============================================================================= --
107 -- Specific Methods for ANDOR Field Data Access GlobalUncertaintyAssignedContext --
108 -- ============================================================================= --
109
6e33d3ce 110 SetUncertainty(me : mutable; aUncertainty : HArray1OfUncertaintyMeasureWithUnit);
111 Uncertainty (me) returns HArray1OfUncertaintyMeasureWithUnit;
112 UncertaintyValue (me; num : Integer) returns UncertaintyMeasureWithUnit;
7fd59977 113 NbUncertainty (me) returns Integer;
114
115fields
116
117 geometricRepresentationContext : GeometricRepresentationContext from StepGeom;
118 globalUnitAssignedContext : GlobalUnitAssignedContext from StepRepr;
119 globalUncertaintyAssignedContext : GlobalUncertaintyAssignedContext from StepRepr;
120
121end GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx;