7fd59977 |
1 | -- File: DsgPrs_SymmetricPresentation.cdl |
2 | -- Created: Wed Jan 22 18:43:39 1997 |
3 | -- Author: Prestataire Michael ALEONARD |
4 | -- <mal@matrox.paris1.matra-dtv.fr> |
5 | ---Copyright: Matra Datavision 1997 |
6 | |
7 | class SymmetricPresentation from DsgPrs |
8 | ---Purpose: A framework to define display of symmetry between shapes. |
9 | uses |
10 | Presentation from Prs3d, |
11 | Pnt from gp, |
12 | Dir from gp, |
13 | Lin from gp, |
14 | Circ from gp, |
15 | Drawer from Prs3d, |
16 | ExtendedString from TCollection |
17 | |
18 | is |
19 | Add( myclass; aPresentation: Presentation from Prs3d; |
20 | aDrawer: Drawer from Prs3d; |
21 | AttachmentPoint1: Pnt from gp; |
22 | AttachmentPoint2: Pnt from gp; |
23 | aDirection1: Dir from gp; |
24 | aAxis: Lin from gp; |
25 | OffsetPoint: Pnt from gp); |
26 | ---Purpose: Adds the points OffsetPoint, AttachmentPoint1, |
27 | -- AttachmentPoint2, the direction aDirection1 and the |
28 | -- axis anAxis to the presentation object aPresentation. |
29 | -- The display attributes of the symmetry are defined by |
30 | -- the attribute manager aDrawer. |
31 | -- This syntax is used for display of symmetries between two segments. |
32 | |
33 | |
34 | Add( myclass; aPresentation: Presentation from Prs3d; |
35 | aDrawer: Drawer from Prs3d; |
36 | AttachmentPoint1: Pnt from gp; |
37 | AttachmentPoint2: Pnt from gp; |
38 | aCircle1: Circ from gp; |
39 | aAxis: Lin from gp; |
40 | OffsetPoint: Pnt from gp); |
41 | ---Purpose: Adds the points OffsetPoint, AttachmentPoint1, |
42 | -- AttachmentPoint2, the direction aDirection1 the circle |
43 | -- aCircle1 and the axis anAxis to the presentation |
44 | -- object aPresentation. |
45 | -- The display attributes of the symmetry are defined by |
46 | -- the attribute manager aDrawer. |
47 | -- This syntax is used for display of symmetries between two arcs. |
48 | |
49 | Add( myclass; aPresentation: Presentation from Prs3d; |
50 | aDrawer: Drawer from Prs3d; |
51 | AttachmentPoint1: Pnt from gp; |
52 | AttachmentPoint2: Pnt from gp; |
53 | aAxis: Lin from gp; |
54 | OffsetPoint: Pnt from gp); |
55 | ---Purpose: Adds the points OffsetPoint, AttachmentPoint1, |
56 | -- AttachmentPoint2 and the axis anAxis to the |
57 | -- presentation object aPresentation. |
58 | -- The display attributes of the symmetry are defined by |
59 | -- the attribute manager aDrawer. |
60 | -- This syntax is used for display of symmetries between two vertices. |
61 | |
62 | end SymmetricPresentation; |
63 | |
64 | |
65 | |
66 | |
67 | |
68 | |
69 | |
70 | |
71 | |