b311480e |
1 | -- Created on: 1997-01-22 |
2 | -- Created by: Prestataire Michael ALEONARD |
3 | -- Copyright (c) 1997-1999 Matra Datavision |
973c2be1 |
4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | -- |
973c2be1 |
6 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
7 | -- |
973c2be1 |
8 | -- This library is free software; you can redistribute it and / or modify it |
9 | -- under the terms of the GNU Lesser General Public version 2.1 as published |
10 | -- by the Free Software Foundation, with special exception defined in the file |
11 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
12 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
13 | -- |
973c2be1 |
14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. |
7fd59977 |
16 | |
17 | class SymmetricPresentation from DsgPrs |
18 | ---Purpose: A framework to define display of symmetry between shapes. |
19 | uses |
20 | Presentation from Prs3d, |
21 | Pnt from gp, |
22 | Dir from gp, |
23 | Lin from gp, |
24 | Circ from gp, |
25 | Drawer from Prs3d, |
26 | ExtendedString from TCollection |
27 | |
28 | is |
29 | Add( myclass; aPresentation: Presentation from Prs3d; |
30 | aDrawer: Drawer from Prs3d; |
31 | AttachmentPoint1: Pnt from gp; |
32 | AttachmentPoint2: Pnt from gp; |
33 | aDirection1: Dir from gp; |
34 | aAxis: Lin from gp; |
35 | OffsetPoint: Pnt from gp); |
36 | ---Purpose: Adds the points OffsetPoint, AttachmentPoint1, |
37 | -- AttachmentPoint2, the direction aDirection1 and the |
38 | -- axis anAxis to the presentation object aPresentation. |
39 | -- The display attributes of the symmetry are defined by |
40 | -- the attribute manager aDrawer. |
41 | -- This syntax is used for display of symmetries between two segments. |
42 | |
43 | |
44 | Add( myclass; aPresentation: Presentation from Prs3d; |
45 | aDrawer: Drawer from Prs3d; |
46 | AttachmentPoint1: Pnt from gp; |
47 | AttachmentPoint2: Pnt from gp; |
48 | aCircle1: Circ from gp; |
49 | aAxis: Lin from gp; |
50 | OffsetPoint: Pnt from gp); |
51 | ---Purpose: Adds the points OffsetPoint, AttachmentPoint1, |
52 | -- AttachmentPoint2, the direction aDirection1 the circle |
53 | -- aCircle1 and the axis anAxis to the presentation |
54 | -- object aPresentation. |
55 | -- The display attributes of the symmetry are defined by |
56 | -- the attribute manager aDrawer. |
57 | -- This syntax is used for display of symmetries between two arcs. |
58 | |
59 | Add( myclass; aPresentation: Presentation from Prs3d; |
60 | aDrawer: Drawer from Prs3d; |
61 | AttachmentPoint1: Pnt from gp; |
62 | AttachmentPoint2: Pnt from gp; |
63 | aAxis: Lin from gp; |
64 | OffsetPoint: Pnt from gp); |
65 | ---Purpose: Adds the points OffsetPoint, AttachmentPoint1, |
66 | -- AttachmentPoint2 and the axis anAxis to the |
67 | -- presentation object aPresentation. |
68 | -- The display attributes of the symmetry are defined by |
69 | -- the attribute manager aDrawer. |
70 | -- This syntax is used for display of symmetries between two vertices. |
71 | |
72 | end SymmetricPresentation; |
73 | |
74 | |
75 | |
76 | |
77 | |
78 | |
79 | |
80 | |
81 | |