0024624: Lost word in license statement in source files
[occt.git] / src / DsgPrs / DsgPrs_OffsetPresentation.cdl
CommitLineData
b311480e 1-- Created on: 1996-09-18
2-- Created by: Jacques MINOT
3-- Copyright (c) 1996-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--
d5f74e42 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
973c2be1 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
17class OffsetPresentation from DsgPrs
18
19 ---Purpose: A framework to define display of offsets.
20uses
21 Presentation from Prs3d,
22 Pnt from gp,
23 Dir from gp,
24 Drawer from Prs3d,
25 ExtendedString from TCollection,
26 ArrowSide from DsgPrs
27is
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 aDirection2: Dir from gp;
35 OffsetPoint: Pnt from gp);
36 ---Purpose: Defines the display of elements showing offset shapes.
37 -- These include the two points of attachment
38 -- AttachmentPoint1 and AttachmentPoint1, the two
39 -- directions aDirection and aDirection2, 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 AddAxes( 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 aDirection2: Dir from gp;
51 OffsetPoint: Pnt from gp);
52 ---Purpose: draws the representation of axes alignement Constraint
53 -- between the point AttachmentPoint1 and the
54 -- point AttachmentPoint2, along direction
55 -- aDirection, using the offset point OffsetPoint.
56
57end OffsetPresentation;