1 -- Created on: 1997-01-22
2 -- Created by: Prestataire Michael ALEONARD
3 -- Copyright (c) 1997-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License 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.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class SymmetricPresentation from DsgPrs
18 ---Purpose: A framework to define display of symmetry between shapes.
20 Presentation from Prs3d,
26 ExtendedString from TCollection
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;
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.
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;
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.
59 Add( myclass; aPresentation: Presentation from Prs3d;
60 aDrawer: Drawer from Prs3d;
61 AttachmentPoint1: Pnt from gp;
62 AttachmentPoint2: Pnt 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.
72 end SymmetricPresentation;