0023948: Wrong intersection between a surface of revolution and a plane.
[occt.git] / src / DsgPrs / DsgPrs_ParalPresentation.cdl
1 -- Created on: 1995-11-28
2 -- Created by: Jean-Pierre COMBE
3 -- Copyright (c) 1995-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
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.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 class ParalPresentation from DsgPrs
18         ---Purpose: A framework to define display of relations of parallelism between shapes.
19 uses
20     Presentation from Prs3d,
21     Pnt from gp,
22     Dir from gp,
23     Drawer from Prs3d,
24     ArrowSide from DsgPrs,
25     ExtendedString from TCollection
26         
27 is  
28     Add( myclass; aPresentation: Presentation from Prs3d;
29                   aDrawer: Drawer from Prs3d;
30                   aText: ExtendedString from TCollection;
31                   AttachmentPoint1: Pnt from gp;
32                   AttachmentPoint2: Pnt from gp;
33                   aDirection: Dir from gp;
34                   OffsetPoint: Pnt from gp);
35         ---Purpose: Defines the display of elements showing relations of
36         -- parallelism between shapes.
37         -- These include the two points of attachment
38         -- AttachmentPoint1 and AttachmentPoint1, the
39         -- direction aDirection, and the offset point OffsetPoint.
40         -- These arguments are added to the presentation
41         -- object aPresentation. Their display attributes are
42         -- defined by the attribute manager aDrawer.
43
44     Add( myclass; aPresentation: Presentation from Prs3d;
45                   aDrawer: Drawer from Prs3d;
46                   aText: ExtendedString from TCollection;
47                   AttachmentPoint1: Pnt from gp;
48                   AttachmentPoint2: Pnt from gp;
49                   aDirection: Dir from gp;
50                   OffsetPoint: Pnt from gp;
51                   ArrowSide: ArrowSide from DsgPrs);
52         ---Purpose: Defines the display of elements showing relations of
53         -- parallelism between shapes.
54         -- These include the two points of attachment
55         -- AttachmentPoint1 and AttachmentPoint1, the
56         -- direction aDirection, the offset point OffsetPoint and
57         -- the text aText.
58         -- These arguments are added to the presentation
59         -- object aPresentation. Their display attributes are
60         -- defined by the attribute manager aDrawer.
61
62 end ParalPresentation;