0022627: Change OCCT memory management defaults
[occt.git] / src / Prs3d / Prs3d_IsoAspect.cdl
CommitLineData
7fd59977 1-- File: Prs3d_IsoAspect.cdl
2-- Created: Mon Apr 26 19:04:20 1993
3-- Author: Jean-Louis Frenkel
4-- <jlf@phylox>
5-- GG : GER61351 17/11/1999 Change SetColor() with a compatible Quantity_Color instead
6-- the restricted NameOfColor.
7---Copyright: Matra Datavision 1993
8
9
10class IsoAspect from Prs3d inherits LineAspect from Prs3d
11 ---Purpose: A framework to define the display attributes of isoparameters.
12 -- This framework can be used to modify the default
13 -- setting for isoparameters in AIS_Drawer.
14
15uses
16
17 NameOfColor from Quantity,
18 Color from Quantity,
19 TypeOfLine from Aspect
20
21is
22 Create (aColor: NameOfColor from Quantity;
23 aType: TypeOfLine from Aspect;
24 aWidth: Real from Standard;
25 aNumber: Integer from Standard)
26 returns mutable IsoAspect from Prs3d;
27 ---Purpose: Constructs a framework to define display attributes of isoparameters.
28 -- These include:
29 -- - the color attribute aColor
30 -- - the type of line aType
31 -- - the width value aWidth
32 -- - aNumber, the number of isoparameters to be displayed.
33
34 Create (aColor: Color from Quantity;
35 aType: TypeOfLine from Aspect;
36 aWidth: Real from Standard;
37 aNumber: Integer from Standard)
38 returns mutable IsoAspect from Prs3d;
39
40
41 SetNumber (me: mutable; aNumber: Integer from Standard)
42 ---Purpose: defines the number of U or V isoparametric curves
43 -- to be drawn for a single face.
44 -- Default value: 10
45 is static;
46
47 Number (me) returns Integer from Standard
48 ---Purpose: returns the number of U or V isoparametric curves drawn for a single face.
49 is static;
7fd59977 50
51fields
52
53 myNumber: Integer from Standard;
54
55end IsoAspect from Prs3d;