summaryrefslogtreecommitdiff
path: root/src/Prs3d/Prs3d_AnglePresentation.cdl
blob: a4cf9676b22071e55825a44f1210d8836614a5a6 (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
-- File:	Prs3d_AnglePresentation.cdl
-- Created:	Tue Feb 22 15:06:49 1994
-- Author:	Jean Louis FRENKEL
--		<jlf@pernox>
---Copyright:	 Matra Datavision 1994

class AnglePresentation from Prs3d inherits Root from Prs3d
    	---Purpose: A framework to define the display of angles.
uses
    Presentation from Prs3d,
    Pnt from gp,
    Drawer from Prs3d,
    ExtendedString from TCollection
    	
is  
    Draw( myclass; aPresentation: Presentation from Prs3d;
    	    	   aDrawer: Drawer from Prs3d;
		   aText: ExtendedString from TCollection;
                   AttachmentPoint1: Pnt from gp;
		   AttachmentPoint2: Pnt from gp;
                   AttachmentPoint3: Pnt from gp;
		   OffsetPoint: Pnt from gp);
	---Purpose: Defines the representation of the angle between the
    	-- line defined by the points AttachmentPoint1 and
    	-- AttachmentPoint2 and the line defined by the points
    	-- AttachmentPoint1 and AttachmentPoint3.
    	-- The text aText is displayed at the point OffsetPoint,
    	-- and the drawer aDrawer specifies the display
    	-- attributes which angles will have.
    	-- The presentation object aPresentation stores the
    	-- information defined in this framework.
        
end AnglePresentation from Prs3d;