VROT(nged)

NAME

vrot - Rotates the view on the current geometry display window.

SYNOPSIS

vrot {xrot yrot zrot}

DESCRIPTION

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.

EXAMPLES

The two examples show the use of the vrot command to rotate the view on the current geometry display window about the x axis and y axis, respectively.

Example 1. Rotate the view on the geometry display window about the x axis.

mged> vrot 90 0 0

Rotates the view 90° about the x axis.

Example 2. Rotate the view on the geometry display window about the y axis.

mged> vrot 0 180 0

Rotates the view 180° about the y axis.

AUTHOR

BRL-CAD Team

This software is Copyright (c) 1989-2021 by the United States Government as represented by U.S. Army Research Laboratory.

BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org