'\" t
.\"     Title: AROT
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 08/28/2023
.\"    Manual: BRL-CAD User Commands
.\"    Source: BRL-CAD
.\"  Language: English
.\"
.TH "AROT" "nged" "08/28/2023" "BRL\-CAD" "BRL\-CAD User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
arot \- Performs a rotation about the specified axis (\fIx y z\fR) using screen units (\-2048 to +2048)\&.
.SH "SYNOPSIS"
.HP \w'\fBarot\fR\ 'u
\fBarot\fR {\fIx\fR} {\fIy\fR} {\fIz\fR} {\fIangle\fR}
.SH "DESCRIPTION"
.PP
Performs a rotation about the specified axis (\fIx y z\fR) using screen units (\-2048 to +2048)\&. The amount of rotation is determined by
\fIangle\fR, which is in degrees\&. Exactly what is rotated and how it is rotated are dependent on MGED\*(Aqs state as well as the state of the display manager\&. For example, in normal viewing mode, this command simply rotates the view\&. However, in primitive edit mode, it rotates the shape being edited\&.
.SH "EXAMPLES"
.PP
The example demonstrates the use of the
\fBarot\fR
command to rotate a view or shape about the z axis\&.
.PP
\fBExample\ \&1.\ \&Rotating a view or shape 10 degrees about the z axis.\fR
.PP

mged>\fBarot 0 0 1 10\fR
.PP
The view or shape is rotated 10 degrees about the z axis\&.
.SH "AUTHOR"
.PP
BRL\-CAD Team
.SH "BUG REPORTS"
.PP
Reports of bugs or problems should be submitted via electronic mail to
devs@brlcad\&.org
