blob: 27d22556518d4c66ce7815a402c91292f82da07b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
-- File: DsgPrs_EllipseRadiusPresentation.cdl
-- Created: Mon Jan 26 09:41:13 1998
-- Author: Sergey ZARITCHNY
-- <szy@androx.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 1998
class EllipseRadiusPresentation from DsgPrs
---Purpose:
uses
Presentation from Prs3d,
Pnt from gp,
Elips from gp,
OffsetCurve from Geom,
Drawer from Prs3d,
ArrowSide from DsgPrs,
ExtendedString from TCollection
is
Add( myclass; aPresentation : Presentation from Prs3d;
aDrawer : Drawer from Prs3d;
theval : Real from Standard;
aText : ExtendedString from TCollection;
AttachmentPoint : Pnt from gp;
anEndOfArrow : Pnt from gp;
aCenter : Pnt from gp;
IsMaxRadius : Boolean from Standard;
ArrowSide: ArrowSide from DsgPrs);
---Purpose: draws a Radius (Major or Minor)
-- representation for whole ellipse case
Add( myclass; aPresentation : Presentation from Prs3d;
aDrawer : Drawer from Prs3d;
theval : Real from Standard;
aText : ExtendedString from TCollection;
anEllipse : Elips from gp;
AttachmentPoint : Pnt from gp;
anEndOfArrow : Pnt from gp;
aCenter : Pnt from gp;
uFirst : Real from Standard;
IsInDomain : Boolean from Standard;
IsMaxRadius : Boolean from Standard;
ArrowSide : ArrowSide from DsgPrs);
---Purpose: draws a Radius (Major or Minor) representation
-- for arc of an ellipse case
Add( myclass; aPresentation : Presentation from Prs3d;
aDrawer : Drawer from Prs3d;
theval : Real from Standard;
aText : ExtendedString from TCollection;
aCurve : OffsetCurve from Geom;
AttachmentPoint : Pnt from gp;
anEndOfArrow : Pnt from gp;
aCenter : Pnt from gp;
uFirst : Real from Standard;
IsInDomain : Boolean from Standard;
IsMaxRadius : Boolean from Standard;
ArrowSide : ArrowSide from DsgPrs);
---Purpose: draws a Radius (Major or Minor) representation
-- for arc of an offset curve from ellipse
end EllipseRadiusPresentation;
|