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

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

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

<refnamediv xml:id="name">
  <refname>sv</refname>
  <refpurpose>Moves the view center to (<emphasis>x, y, z</emphasis>).
   </refpurpose>
</refnamediv>

<!-- body begins here -->
<refsynopsisdiv xml:id="synopsis">
  <cmdsynopsis sepchar=" ">
    <command>sv</command>    
    
    <arg choice="req" rep="norepeat"><replaceable>x y</replaceable></arg>
    <arg choice="opt" rep="norepeat"><replaceable>z</replaceable></arg>
  </cmdsynopsis>
</refsynopsisdiv>

<refsection xml:id="description"><info><title>DESCRIPTION</title></info>
  
  <para>Moves the view center to (<emphasis>x, y, z</emphasis>). If <emphasis>z</emphasis> is not provided, then <emphasis>z</emphasis>=0 is used. The parameters <emphasis>x, y, z</emphasis> are integer values relative to the screen. For example, the center of the screen is (0, 0, 0) and the upper left corner is (-2048, 2047, 0).

  
  </para>
</refsection>

<refsection xml:id="examples"><info><title>EXAMPLES</title></info>
  
  <para>The two examples show the use of the <command>sv</command> command to move the view center to a particular location on the screen.
   </para>
        
  <example><info><title>Keep the view center at the center of the screen.</title></info>
    
    <para>
      <prompt>mged&gt;</prompt><userinput>sv 0 0 0</userinput>
    </para>
    <para>The view is unchanged.
      
    </para>
  </example>
 
<example><info><title>Move the view center half way between the current view center and the right side of the view screen.</title></info>
    
    <para>
      <prompt>mged&gt;</prompt><userinput>sv 1024 0 0</userinput>
    </para>
    <para>The view center is moved half way between the current view center and the right side of the view screen.
     </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>
