0024784: Move documentation in CDL files to proper location
[occt.git] / src / gce / gce_MakeRotation2d.cdl
CommitLineData
b311480e 1-- Created on: 1992-08-26
2-- Created by: Remi GILET
3-- Copyright (c) 1992-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 MakeRotation2d
18
19from gce
20
21 ---Purpose: Implements an elementary construction algorithm for
22 -- a rotation in 2D space. The result is a gp_Trsf2d transformation.
23 -- A MakeRotation2d object provides a framework for:
24 -- - defining the construction of the transformation,
25 -- - implementing the construction algorithm, and
26 -- - consulting the result.
27
28uses Pnt2d from gp,
29 Trsf2d from gp,
30 Real from Standard
31
32is
33
34Create(Point : Pnt2d from gp ;
35 Angle : Real from Standard) returns MakeRotation2d;
36 ---Purpose: Constructs a rotation through angle Angle about the center Point.
37
38Value(me) returns Trsf2d from gp
39 is static;
40 ---C++: return const&
41 ---Purpose: Returns the constructed transformation.
42
43Operator(me) returns Trsf2d from gp
44 is static;
45 ---C++: return const&
46 ---C++: alias "Standard_EXPORT operator gp_Trsf2d() const;"
47
48fields
49
50 TheRotation2d : Trsf2d from gp;
51
52end MakeRotation2d;