MGED CMD vrot

vrot[edit]

Syntax[edit]

vrot xrot yrot zrot


Argument(s)[edit]

xrot
Rotation about X axis specified in degrees.
yrot
Rotation about Y axis specified in degrees.
zrot
Rotation about Z axis specified in degrees.


Return Value(s)[edit]

No Return Values for this command.


Description[edit]

The "vrot" command rotates the view on the current geometry display window. The parameters xrot, yrot, and zrot are rotations (specified in degrees) about the viewing coordinate axes.

If the display is in rotate-about-center mode, then the rotation will occur about the center of the viewing volume. In rotate-about-eye mode, the view on the display will be rotated about the eye. The vars command (or a menu button) allows the user to toggle between the two modes.


Example(s)[edit]

mged> vrot 90 0 0
Rotate 90 degrees about view x axis.


mged> vrot 0 180 0
Rotate 180 degrees about view y axis.


See Also[edit]

No related commands.



Page Generated by David Loman on: 10/12/2007 at: 7:29:52 AM