OpenLayer
|
Placement
|
RotateBy
RotateBy
void
RotateBy
(
float
value )
Changes the rotation angle of the Placement by the specified amount.
Examples
Placement
myPlacement(
Vec2D
(
250.0
,
100.0
),
0.5
* AL_PI );
// Rotate myPlacement 90 decrees clockwise //
myPlacement.
RotateBy
(
0.5
* AL_PI );
Other functions of the class
Placement
MoveBy
Moves the Placement
RotateBy
Rotates the Placement
StretchBy
Stretches the Position
GetDistance
Returns the distance between this Placement and an another one
SetPosition
Sets the position value of the Placement
GetPosition
Returns the position value of the Placement
SetRotation
Sets the rotation angle of the Placement
GetRotation
Returns the rotation angle of the Placement
SetStretch
Sets the stretching factor of the Placement
GetStretch
Returns the stretching factor of the Placement
Back to the main page of the manual
Questions about RotateBy? Click
here.