0024830: Remove redundant keyword 'mutable' in CDL declarations
[occt.git] / src / IGESAppli / IGESAppli_LineWidening.cdl
CommitLineData
b311480e 1-- Created on: 1993-01-11
2-- Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
3-- Copyright (c) 1993-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
7fd59977 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
7fd59977 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.
7fd59977 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17class LineWidening from IGESAppli inherits IGESEntity
18
19 ---Purpose: defines LineWidening, Type <406> Form <5>
20 -- in package IGESAppli
21 -- Defines the characteristics of entities when they are
22 -- used to define locations of items.
23
24uses Integer, Real -- no one specific type
25
26is
27
6e33d3ce 28 Create returns LineWidening;
7fd59977 29
30 -- Specific Methods pertaining to the class
31
32 Init (me : mutable;
33 nbPropVal : Integer;
34 aWidth : Real;
35 aCornering : Integer;
36 aExtnFlag : Integer;
37 aJustifFlag : Integer;
38 aExtnVal : Real);
39 ---Purpose : This method is used to set the fields of the class
40 -- LineWidening
41 -- - nbPropVal : Number of property values = 5
42 -- - aWidth : Width of metalization
43 -- - aCornering : Cornering codes
44 -- 0 = rounded
45 -- 1 = squared
46 -- - aExtnFlag : Extension Flag
47 -- 0 = No Extension
48 -- 1 = One-half width extension
49 -- 2 = Extn set by ExtnVal
50 -- - aJustifFlag : Justification flag
51 -- 0 = Center justified
52 -- 1 = left justified
53 -- 2 = right justified
54 -- - aExtnVal : Extension value if aExtnFlag = 2
55
56
57 NbPropertyValues (me) returns Integer;
58 ---Purpose : returns the number of property values
59 -- is always 5
60
61 WidthOfMetalization (me) returns Real;
62 ---Purpose : returns the width of metallization
63
64 CorneringCode (me) returns Integer;
65 ---Purpose : returns the cornering code
66 -- 0 = Rounded / 1 = Squared
67
68 ExtensionFlag (me) returns Integer;
69 ---Purpose : returns the extension flag
70 -- 0 = No extension
71 -- 1 = One-half width extension
72 -- 2 = Extension set by theExtnVal
73
74 JustificationFlag (me) returns Integer;
75 ---Purpose : returns the justification flag
76 -- 0 = Centre justified
77 -- 1 = Left justified
78 -- 2 = Right justified
79
80 ExtensionValue (me) returns Real;
81 ---Purpose : returns the Extension Value
82 -- Present only if theExtnFlag = 2
83
84fields
85
86--
87-- Class : IGESAppli_LineWidening
88--
89-- Purpose : Declaration of variables specific to the definition
90-- of the Class LineWidening.
91--
92-- Reminder : A LineWidening instance is defined by :
93-- - Number of property values (Should be 5)
94-- - Width of metalization
95-- - Cornering codes
96-- - Extension Flag
97-- - Justification flag
98-- - Extension value if theExtensionFlag = 2
99
100 theNbPropertyValues : Integer;
101 theWidth : Real;
102 theCorneringCode : Integer;
103 theExtensionFlag : Integer;
104 theJustificationFlag : Integer;
105 theExtensionValue : Real;
106
107end LineWidening;