7fd59977 |
1 | -- File: DsgPrs_TangentPresentation.cdl |
2 | -- Created: Tue Jan 16 14:27:16 1996 |
3 | -- Author: Jean-Pierre COMBE |
4 | -- <jpi@clipox> |
5 | ---Copyright: Matra Datavision 1996 |
6 | |
7 | class TangentPresentation from DsgPrs |
8 | ---Purpose: A framework to define display of tangents. |
9 | uses |
10 | Presentation from Prs3d, |
11 | Pnt from gp, |
12 | Dir from gp, |
13 | Drawer from Prs3d |
14 | |
15 | is |
16 | Add (myclass; aPresentation: Presentation from Prs3d; |
17 | aDrawer: Drawer from Prs3d; |
18 | OffsetPoint: Pnt from gp; |
19 | aDirection: Dir from gp; |
20 | aLength : Real from Standard); |
21 | |
22 | ---Purpose: Adds the point OffsetPoint, the direction aDirection |
23 | -- and the length aLength to the presentation object aPresentation. |
24 | -- The display attributes of the tangent are defined by |
25 | -- the attribute manager aDrawer. |
26 | |
27 | end TangentPresentation; |