7fd59977 |
1 | -- File: DsgPrs_FilletRadiusPresentation.cdl |
2 | -- Created: Mon Dec 8 11:40:57 1997 |
3 | -- Author: Serguei ZARITCHNY |
4 | -- <xab@zozox.paris1.matra-dtv.fr> |
5 | ---Copyright: Matra Datavision 1997 |
6 | |
7 | class FilletRadiusPresentation from DsgPrs |
8 | |
9 | ---Purpose: A framework for displaying radii of fillets. |
10 | uses |
11 | Presentation from Prs3d, |
12 | Pnt from gp, |
13 | Dir from gp, |
14 | Drawer from Prs3d, |
15 | ExtendedString from TCollection, |
16 | ArrowSide from DsgPrs, |
17 | TrimmedCurve from Geom, |
18 | Circle from Geom, |
19 | Ax1 from gp |
20 | is |
21 | Add( myclass; aPresentation : Presentation from Prs3d; |
22 | aDrawer : Drawer from Prs3d; |
23 | thevalue : Real from Standard; |
24 | aText : ExtendedString from TCollection; |
25 | aPosition : Pnt from gp; |
26 | aNormalDir : Dir from gp; |
27 | aBasePnt : Pnt from gp; |
28 | aFirstPoint : Pnt from gp; |
29 | aSecondPoint : Pnt from gp; |
30 | aCenter : Pnt from gp; |
31 | ArrowPrs : ArrowSide from DsgPrs; |
32 | drawRevers : Boolean from Standard; |
33 | DrawPosition : out Pnt from gp; |
34 | EndOfArrow : out Pnt from gp; |
35 | TrimCurve : out TrimmedCurve from Geom; |
36 | HasCircle : out Boolean from Standard); |
37 | ---Purpose: Adds a display of the radius of a fillet to the |
38 | -- presentation aPresentation. The display ttributes |
39 | -- defined by the attribute manager aDrawer. the value |
40 | -- specifies the length of the radius. |
41 | |
42 | end FilletRadiusPresentation; |