The IDLanROI::Rotate procedure method modifies the vertices for the region by applying a rotation.
Syntax
Obj->[IDLanROI::]Rotate, Axis, Angle [, CENTER=[x, y[, z]]]
Arguments
Axis
A three-element vector of the form [x, y, z] describing the axis about which the region is to be rotated.
Angle
The angle, measured in degrees, by which the rotation is to occur.
Keywords
CENTER
Set this keyword to a two or three-element vector of the form [x, y], or [x, y, z] specifying the center of rotation. The default is [0, 0, 0]. IDL converts and applies this data in double-precision floating-point.
Version History