1 -- File: MakeRotation.cdl
2 -- Created: Mon Sep 28 11:52:57 1992
5 ---Copyright: Matra Datavision 1992
11 ---Purpose: This class implements elementary construction algorithms for a
12 -- rotation in 3D space. The result is a
13 -- Geom_Transformation transformation.
14 -- A MakeRotation object provides a framework for:
15 -- - defining the construction of the transformation,
16 -- - implementing the construction algorithm, and
17 -- - consulting the result.
23 Transformation from Geom,
28 Create(Line : Lin from gp ;
29 Angle : Real from Standard) returns MakeRotation;
30 --- Purpose: Constructs a rotation through angle Angle about the axis defined by the line Line.
31 Create(Axis : Ax1 from gp ;
32 Angle : Real from Standard) returns MakeRotation;
33 ---Purpose: Constructs a rotation through angle Angle about the axis defined by the axis Axis.
34 Create(Point : Pnt from gp ;
36 Angle : Real from Standard) returns MakeRotation;
37 ---Purpose: Constructs a rotation through angle Angle about the axis
38 -- defined by the point Point and the unit vector Direc.
40 Value(me) returns Transformation from Geom
42 ---Purpose: Returns the constructed transformation.
45 Operator(me) returns Transformation from Geom
48 ---C++: alias "Standard_EXPORT operator Handle_Geom_Transformation() const;"
52 TheRotation : Transformation from Geom;