0024133: Development of improvement of dimensions implementation; new length, radius...
[occt.git] / src / Prs3d / Prs3d_DatumAspect.cdl
CommitLineData
b311480e 1-- Created on: 1993-07-30
2-- Created by: Jean-Louis FRENKEL
3-- Copyright (c) 1993-1999 Matra Datavision
4-- Copyright (c) 1999-2012 OPEN CASCADE SAS
5--
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.
10--
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.
13--
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
a6eb515f 23class DatumAspect from Prs3d inherits BasicAspect from Prs3d
7fd59977 24 ---Purpose: A framework to define the display of datums.
25uses
26
27 LineAspect from Prs3d,
28 Length from Quantity
29is
30
31 Create returns mutable DatumAspect from Prs3d;
32 ---Purpose: An empty framework to define the display of datums.
33
34 FirstAxisAspect(me) returns mutable LineAspect from Prs3d;
35 ---Purpose: Returns the attributes for display of the first axis.
36 SecondAxisAspect(me) returns mutable LineAspect from Prs3d;
37 ---Purpose: Returns the attributes for display of the second axis.
38 ThirdAxisAspect(me) returns mutable LineAspect from Prs3d;
39 ---Purpose: Returns the attributes for display of the third axis.
40 SetDrawFirstAndSecondAxis(me:mutable ; draw: Boolean from Standard);
41 ---Purpose: Sets the DrawFirstAndSecondAxis attributes to active.
42
43 DrawFirstAndSecondAxis(me) returns Boolean from Standard;
44 ---Purpose: Returns true if the first and second axes can be drawn.
45
46 SetDrawThirdAxis(me:mutable; draw: Boolean from Standard);
47 ---Purpose: Sets the DrawThirdAxis attributes to active.
48
49 DrawThirdAxis(me) returns Boolean from Standard;
50 ---Purpose: Returns true if the third axis can be drawn.
51 SetAxisLength(me:mutable; L1,L2,L3: Real from Standard);
52 ---Purpose: Sets the lengths L1, L2 and L3 of the three axes.
53
54 FirstAxisLength(me) returns Length from Quantity;
55 --- Purpose: Returns the length of the displayed first axis.
56
57 SecondAxisLength(me) returns Length from Quantity;
58 ---Purpose: Returns the length of the displayed second axis.
59
60 ThirdAxisLength(me) returns Length from Quantity;
8ca7beb8 61 ---Purpose: Returns the length of the displayed third axis.
7fd59977 62
63fields
64
65 myFirstAxisAspect: LineAspect from Prs3d;
66 mySecondAxisAspect: LineAspect from Prs3d;
67 myThirdAxisAspect: LineAspect from Prs3d;
68 myDrawFirstAndSecondAxis: Boolean from Standard;
69 myDrawThirdAxis: Boolean from Standard;
70 myFirstAxisLength: Length from Quantity;
71 mySecondAxisLength: Length from Quantity;
72 myThirdAxisLength: Length from Quantity;
73end DatumAspect from Prs3d;
74