<!-- Converted by db4-upgrade version 1.0 -->

<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="vrot">

<refmeta>
  <refentrytitle>VROT</refentrytitle>
  <manvolnum>nged</manvolnum>
  <refmiscinfo class="source">BRL-CAD</refmiscinfo>
  <refmiscinfo class="manual">BRL-CAD MGED Commands</refmiscinfo>
</refmeta>

<refnamediv xml:id="name">
  <refname>vrot</refname>
  <refpurpose>Rotates the view on the current geometry display window.</refpurpose>
</refnamediv>

<!-- body begins here -->
<refsynopsisdiv xml:id="synopsis">
  <cmdsynopsis sepchar=" ">
    <command>vrot</command>    
    
    <arg choice="req" rep="norepeat"><replaceable>xrot yrot zrot</replaceable></arg>

  </cmdsynopsis>
</refsynopsisdiv>

<refsection xml:id="description"><info><title>DESCRIPTION</title></info>
  
  <para>Rotates the view on the current geometry display window.  The
parameters <emphasis>xrot, yrot,</emphasis> and <emphasis>zrot</emphasis> are rotations (specified in degrees) about the viewing coordinate axes.</para>
  <para>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 <command>vars</command> command (or a menu button) allows the user to
toggle between the two modes.  
  </para>
</refsection>

<refsection xml:id="examples"><info><title>EXAMPLES</title></info>
  
  <para>The two examples show the use of the <command>vrot</command> command to rotate the view on the current geometry display window about the <emphasis>x</emphasis> axis and <emphasis>y</emphasis> axis, respectively.
  </para>
 
       
  <example><info><title>Rotate the view on the geometry display window about the <emphasis>x</emphasis> axis.</title></info>
    
    <para>
      <prompt>mged&gt;</prompt><userinput>vrot 90 0 0</userinput>
    </para>
    <para>Rotates the view 90° about the <emphasis>x</emphasis> axis.       
    </para>
  </example>
 <example><info><title>Rotate the view on the geometry display window about the <emphasis>y</emphasis> axis.</title></info>
    
    <para>
      <prompt>mged&gt;</prompt><userinput>vrot 0 180 0</userinput>
    </para>
    <para>Rotates the view 180° about the <emphasis>y</emphasis> axis.       
       
    </para>
  </example>

</refsection>

<info><corpauthor>BRL-CAD Team</corpauthor></info>

<refsection xml:id="bug_reports"><info><title>BUG REPORTS</title></info>
  
  <para>
    Reports of bugs or problems should be submitted via electronic
    mail to &lt;devs@brlcad.org&gt;, or via the "cadbug.sh" script.
  </para>
</refsection>
</refentry>
