1 -- File: Prs3d_AnglePresentation.cdl
2 -- Created: Tue Feb 22 15:06:49 1994
3 -- Author: Jean Louis FRENKEL
5 ---Copyright: Matra Datavision 1994
7 class AnglePresentation from Prs3d inherits Root from Prs3d
8 ---Purpose: A framework to define the display of angles.
10 Presentation from Prs3d,
13 ExtendedString from TCollection
16 Draw( myclass; aPresentation: Presentation from Prs3d;
17 aDrawer: Drawer from Prs3d;
18 aText: ExtendedString from TCollection;
19 AttachmentPoint1: Pnt from gp;
20 AttachmentPoint2: Pnt from gp;
21 AttachmentPoint3: Pnt from gp;
22 OffsetPoint: Pnt from gp);
23 ---Purpose: Defines the representation of the angle between the
24 -- line defined by the points AttachmentPoint1 and
25 -- AttachmentPoint2 and the line defined by the points
26 -- AttachmentPoint1 and AttachmentPoint3.
27 -- The text aText is displayed at the point OffsetPoint,
28 -- and the drawer aDrawer specifies the display
29 -- attributes which angles will have.
30 -- The presentation object aPresentation stores the
31 -- information defined in this framework.
33 end AnglePresentation from Prs3d;