Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > eebc325dc36bd6e3b09b9b45133e42f8 > files > 3372

HippoDraw-devel-docs-1.21.1-10.fc13.i686.rpm

<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>HippoDraw Class Library</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="hippoApp.ico">
</head><body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespacehippodraw.html">hippodraw</a>::<a class="el" href="classhippodraw_1_1Rect.html">Rect</a>
  </div>
</div>
<div class="contents">
<h1>Rect Class Reference</h1><!-- doxytag: class="hippodraw::Rect" -->
<p>Class representing a rectangle.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="Rectangle_8h_source.html">Rectangle.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for Rect:</div>
<div class="dynsection">
<div class="center"><img src="classhippodraw_1_1Rect__coll__graph.gif" border="0" usemap="#Rect_coll__map" alt="Collaboration graph"/></div>
<map name="Rect_coll__map" id="Rect_coll__map">
<area shape="rect" id="node2" href="classhippodraw_1_1Size.html" title="Class representing a two or three dimension size." alt="" coords="5,136,53,165"/><area shape="rect" id="node6" href="classhippodraw_1_1Point.html" title="Class representing a two or three dimension point." alt="" coords="83,136,133,165"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classhippodraw_1_1Rect-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#a1adc74eef892f7566f7588640487a5bb">getDepth</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A shortcut to get size.depth.  <a href="#a1adc74eef892f7566f7588640487a5bb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#ab22b7a83bfd69953e9421f6941bc9304">getHeight</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A shortcut to get size.height.  <a href="#ab22b7a83bfd69953e9421f6941bc9304"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#a5410fe8e5b318eb82d84dcccf3634d8b">getWidth</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A shortcut to get size.width.  <a href="#a5410fe8e5b318eb82d84dcccf3634d8b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#af71e522ec6aa935c2618819b54f20e02">getX</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A shortcut to get origin.X.  <a href="#af71e522ec6aa935c2618819b54f20e02"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#acd84440598b1da2a23c326ce371db4e4">getY</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A shortcut to get origin.Y.  <a href="#acd84440598b1da2a23c326ce371db4e4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#aa8d2d377de54332ea8f5c6191ddea692">getZ</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A shortcut to get origin.Z.  <a href="#aa8d2d377de54332ea8f5c6191ddea692"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#a90e2c4a5ae5c96b8b656f8c6ea482692">isInBounds</a> (double x1, double y1, double z1) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Checks the coordinates to see if they are inside or on the boundary of the rectangle.  <a href="#a90e2c4a5ae5c96b8b656f8c6ea482692"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#a113e4881dc561d2a7233568b478551df">isInBounds</a> (double x1, double y1) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Checks the coordinates to see if they are inside or on the boundary of the rectangle.  <a href="#a113e4881dc561d2a7233568b478551df"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#a1562bb253fac5b114dfa4250f2baf67e">isInDepth</a> (double z1) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Checks the value against the depth to see if it is in bounds.  <a href="#a1562bb253fac5b114dfa4250f2baf67e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#a0fba561bac16553f4b9f537301a2b11b">makeInBounds</a> (std::vector&lt; double &gt; &amp;x, std::vector&lt; double &gt; &amp;y, std::vector&lt; double &gt; &amp;z) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Changes the coordinates so that they are inside or on the boundary of the rectangle.  <a href="#a0fba561bac16553f4b9f537301a2b11b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#a23053195db1c6380262a6d1241544747">makeInBounds</a> (std::vector&lt; double &gt; &amp;x, std::vector&lt; double &gt; &amp;y) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Changes the coordinates so that they are inside or on the boundary of the rectangle.  <a href="#a23053195db1c6380262a6d1241544747"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#a55906f4280bdfe781fda3dced9813d4c">makeInBounds</a> (double &amp;x, double &amp;y, double &amp;z) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Changes the coordinates so that they are inside or on the boundary of the rectangle.  <a href="#a55906f4280bdfe781fda3dced9813d4c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#a4d3aa2a3a88746ce6270b68812faca3c">makeInBounds</a> (double &amp;x, double &amp;y) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Changes the coordinates so that they are inside or on the boundary of the rectangle.  <a href="#a4d3aa2a3a88746ce6270b68812faca3c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#a0a54aee40f16bb73d33931f333f208be">moveBy</a> (double x, double y)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Moves the Rectangle by specified amount.  <a href="#a0a54aee40f16bb73d33931f333f208be"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#a511806409f2e21bfddc220640f69249b">Rect</a> (double x, double y, double z, double width, double height, double depth)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">constructor for 3D Rectangle.  <a href="#a511806409f2e21bfddc220640f69249b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#ac6c4908a8afc650d0c882ff162a425bc">Rect</a> (double x, double y, double width, double height)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor for 2D Rectangle.  <a href="#ac6c4908a8afc650d0c882ff162a425bc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#ae436fd0322c99157c5443a3385961e22">Rect</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor.  <a href="#ae436fd0322c99157c5443a3385961e22"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#a770777aa902687e8420ac2a611c3bff8">setDepth</a> (double)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the depth of the rectangle.  <a href="#a770777aa902687e8420ac2a611c3bff8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#a04856ef24101641b8f504f8bda90513f">setRect</a> (double x, double y, double z, double width, double height, double depth)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the parameters of 3D Rectangle.  <a href="#a04856ef24101641b8f504f8bda90513f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#a4e35ed485a6c714ac8b2707bb152af60">setRect</a> (double x, double y, double width, double height)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the parameters of 2D Rectangle.  <a href="#a4e35ed485a6c714ac8b2707bb152af60"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#a5c7441d63ee9d9d76d552f188cc7a14c">setZ</a> (double)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the Z dimension.  <a href="#a5c7441d63ee9d9d76d552f188cc7a14c"></a><br/></td></tr>
<tr><td colspan="2"><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classhippodraw_1_1Point.html">Point</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#a3113241c60766acdbd6528357bee855c">getOrigin</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the origin.  <a href="#a3113241c60766acdbd6528357bee855c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classhippodraw_1_1Size.html">Size</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#a5ed1187d992a910f5ad71e25a3056da1">getSize</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the size.  <a href="#a5ed1187d992a910f5ad71e25a3056da1"></a><br/></td></tr>
<tr><td colspan="2"><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhippodraw_1_1Point.html">Point</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#aeff5670a4ac7d3b61978676f40a1c088">m_origin</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The origin of the Rectangle.  <a href="#aeff5670a4ac7d3b61978676f40a1c088"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhippodraw_1_1Size.html">Size</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1Rect.html#ab671eca0216b5844e8ef60b4b4184487">m_size</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The size of the Rectangle.  <a href="#ab671eca0216b5844e8ef60b4b4184487"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Class representing a rectangle. </p>
<dl class="attention"><dt><b>Attention:</b></dt><dd>Some methods that show hide usage in a profile of displaying large image have been optimized by directly accessing member functions of data members rather than using the public interface. Also the in line functions had a high profile when plotting large images.</dd></dl>
<dl class="note"><dt><b>Note:</b></dt><dd>Would like to have this class named Rectangle, but it conflicts with an apparent typedef under Windows. </dd></dl>

<p>Definition at line <a class="el" href="Rectangle_8h_source.html#l00034">34</a> of file <a class="el" href="Rectangle_8h_source.html">Rectangle.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae436fd0322c99157c5443a3385961e22"></a><!-- doxytag: member="hippodraw::Rect::Rect" ref="ae436fd0322c99157c5443a3385961e22" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhippodraw_1_1Rect.html">Rect</a> </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Default constructor. </p>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00051">51</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

</div>
</div>
<a class="anchor" id="ac6c4908a8afc650d0c882ff162a425bc"></a><!-- doxytag: member="hippodraw::Rect::Rect" ref="ac6c4908a8afc650d0c882ff162a425bc" args="(double x, double y, double width, double height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhippodraw_1_1Rect.html">Rect</a> </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>height</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor for 2D Rectangle. </p>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00057">57</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

<p>References <a class="el" href="Rectangle_8cxx_source.html#l00070">Rect::setRect()</a>.</p>

</div>
</div>
<a class="anchor" id="a511806409f2e21bfddc220640f69249b"></a><!-- doxytag: member="hippodraw::Rect::Rect" ref="a511806409f2e21bfddc220640f69249b" args="(double x, double y, double z, double width, double height, double depth)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhippodraw_1_1Rect.html">Rect</a> </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>depth</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>constructor for 3D Rectangle. </p>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00063">63</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

<p>References <a class="el" href="Rectangle_8cxx_source.html#l00070">Rect::setRect()</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a1adc74eef892f7566f7588640487a5bb"></a><!-- doxytag: member="hippodraw::Rect::getDepth" ref="a1adc74eef892f7566f7588640487a5bb" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double getDepth </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A shortcut to get size.depth. </p>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00118">118</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

<p>References <a class="el" href="Size_8h_source.html#l00072">Size::getDepth()</a>, and <a class="el" href="Rectangle_8cxx_source.html#l00093">Rect::getSize()</a>.</p>

<p>Referenced by <a class="el" href="Rectangle_8cxx_source.html#l00165">Rect::isInBounds()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00256">Rect::makeInBounds()</a>, and <a class="el" href="DataView_8cxx_source.html#l00165">DataView::userToMarginColor()</a>.</p>

</div>
</div>
<a class="anchor" id="ab22b7a83bfd69953e9421f6941bc9304"></a><!-- doxytag: member="hippodraw::Rect::getHeight" ref="ab22b7a83bfd69953e9421f6941bc9304" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double getHeight </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A shortcut to get size.height. </p>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00113">113</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

<p>References <a class="el" href="Size_8h_source.html#l00064">Size::getHeight()</a>, and <a class="el" href="Rectangle_8h_source.html#l00043">Rect::m_size</a>.</p>

<p>Referenced by <a class="el" href="ViewBaseXML_8cxx_source.html#l00063">ViewBaseXML::createElement()</a>, <a class="el" href="DrawBorder_8cxx_source.html#l00057">DrawBorder::draw()</a>, <a class="el" href="QtViewImp_8cxx_source.html#l00698">QtViewImp::draw_Text()</a>, <a class="el" href="QtViewImp_8cxx_source.html#l01014">QtViewImp::drawImage()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00500">AxisRepBase::drawReferencePoint()</a>, <a class="el" href="LinePointRep_8cxx_source.html#l00120">LinePointRep::drawValues()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00266">AxisRepBase::drawXLabels()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00536">AxisRepBase::drawXMag()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00741">AxisRepBase::drawXTickLines()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00385">AxisRepBase::drawYLabels()</a>, <a class="el" href="AxisRepColor_8cxx_source.html#l00083">AxisRepColor::drawZLabels()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00094">AxisRepBase::initAxisRect()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00149">Rect::isInBounds()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00231">Rect::makeInBounds()</a>, <a class="el" href="DataView_8cxx_source.html#l00209">DataView::marginToInvertedUserY()</a>, <a class="el" href="DataView_8cxx_source.html#l00198">DataView::marginToUserY()</a>, <a class="el" href="DataView_8cxx_source.html#l00062">DataView::prepareMarginRect()</a>, <a class="el" href="QtView_8cxx_source.html#l00205">QtView::setDrawRect()</a>, <a class="el" href="PyCanvas_8cxx_source.html#l00497">PyCanvas::setWidth()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00160">AxisRepBase::setXFontSize()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00188">AxisRepBase::setYFontSize()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00243">AxisRepBase::setZFontSize()</a>, <a class="el" href="OpenGLView_8cxx_source.html#l00695">OpenGLView::toViewY()</a>, <a class="el" href="EpsView_8cxx_source.html#l00622">EpsView::toViewY()</a>, <a class="el" href="OpenGLView_8cxx_source.html#l00736">OpenGLView::toY()</a>, <a class="el" href="EpsView_8cxx_source.html#l00653">EpsView::toY()</a>, <a class="el" href="QtView_8cxx_source.html#l00188">QtView::updateDrawRect()</a>, <a class="el" href="DataView_8cxx_source.html#l00154">DataView::userToInvertedMarginY()</a>, <a class="el" href="DataView_8cxx_source.html#l00144">DataView::userToMarginY()</a>, and <a class="el" href="AxisRepColor_8cxx_source.html#l00069">YPADDING()</a>.</p>

</div>
</div>
<a class="anchor" id="a3113241c60766acdbd6528357bee855c"></a><!-- doxytag: member="hippodraw::Rect::getOrigin" ref="a3113241c60766acdbd6528357bee855c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classhippodraw_1_1Point.html">Point</a> &amp; getOrigin </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the origin. </p>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00088">88</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

<p>References <a class="el" href="Rectangle_8h_source.html#l00040">Rect::m_origin</a>.</p>

<p>Referenced by <a class="el" href="Rectangle_8cxx_source.html#l00098">Rect::getZ()</a>.</p>

</div>
</div>
<a class="anchor" id="a5ed1187d992a910f5ad71e25a3056da1"></a><!-- doxytag: member="hippodraw::Rect::getSize" ref="a5ed1187d992a910f5ad71e25a3056da1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classhippodraw_1_1Size.html">Size</a> &amp; getSize </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the size. </p>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00093">93</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

<p>References <a class="el" href="Rectangle_8h_source.html#l00043">Rect::m_size</a>.</p>

<p>Referenced by <a class="el" href="Rectangle_8cxx_source.html#l00118">Rect::getDepth()</a>.</p>

</div>
</div>
<a class="anchor" id="a5410fe8e5b318eb82d84dcccf3634d8b"></a><!-- doxytag: member="hippodraw::Rect::getWidth" ref="a5410fe8e5b318eb82d84dcccf3634d8b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double getWidth </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A shortcut to get size.width. </p>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00108">108</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

<p>References <a class="el" href="Size_8h_source.html#l00056">Size::getWidth()</a>, and <a class="el" href="Rectangle_8h_source.html#l00043">Rect::m_size</a>.</p>

<p>Referenced by <a class="el" href="ViewBaseXML_8cxx_source.html#l00063">ViewBaseXML::createElement()</a>, <a class="el" href="DrawBorder_8cxx_source.html#l00057">DrawBorder::draw()</a>, <a class="el" href="QtViewImp_8cxx_source.html#l00698">QtViewImp::draw_Text()</a>, <a class="el" href="AxisRepColor_8cxx_source.html#l00237">AxisRepColor::drawColorScale()</a>, <a class="el" href="QtViewImp_8cxx_source.html#l01014">QtViewImp::drawImage()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00118">AxisRepBase::drawTitle()</a>, <a class="el" href="LinePointRep_8cxx_source.html#l00120">LinePointRep::drawValues()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00266">AxisRepBase::drawXLabels()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00385">AxisRepBase::drawYLabels()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00819">AxisRepBase::drawYTickLines()</a>, <a class="el" href="AxisRepColor_8cxx_source.html#l00083">AxisRepColor::drawZLabels()</a>, <a class="el" href="AxisRepColor_8cxx_source.html#l00178">AxisRepColor::drawZTickLabels()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00094">AxisRepBase::initAxisRect()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00149">Rect::isInBounds()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00231">Rect::makeInBounds()</a>, <a class="el" href="DataView_8cxx_source.html#l00187">DataView::marginToInvertedUserX()</a>, <a class="el" href="DataView_8cxx_source.html#l00176">DataView::marginToUserX()</a>, <a class="el" href="DataView_8cxx_source.html#l00062">DataView::prepareMarginRect()</a>, <a class="el" href="QtView_8cxx_source.html#l00205">QtView::setDrawRect()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00899">AxisRepBase::setFontSize()</a>, <a class="el" href="PyCanvas_8cxx_source.html#l00481">PyCanvas::setHeight()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00160">AxisRepBase::setXFontSize()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00188">AxisRepBase::setYFontSize()</a>, <a class="el" href="OpenGLView_8cxx_source.html#l00695">OpenGLView::toViewY()</a>, <a class="el" href="DataView_8cxx_source.html#l00133">DataView::userToInvertedMarginX()</a>, <a class="el" href="DataView_8cxx_source.html#l00165">DataView::userToMarginColor()</a>, <a class="el" href="DataView_8cxx_source.html#l00122">DataView::userToMarginX()</a>, <a class="el" href="AxisRepColor_8cxx_source.html#l00064">XPADDING()</a>, and <a class="el" href="AxisRepColor_8cxx_source.html#l00074">ZPADDING()</a>.</p>

</div>
</div>
<a class="anchor" id="af71e522ec6aa935c2618819b54f20e02"></a><!-- doxytag: member="hippodraw::Rect::getX" ref="af71e522ec6aa935c2618819b54f20e02" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double getX </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A shortcut to get origin.X. </p>

<p>Definition at line <a class="el" href="Rectangle_8h_source.html#l00154">154</a> of file <a class="el" href="Rectangle_8h_source.html">Rectangle.h</a>.</p>

<p>References <a class="el" href="Point_8h_source.html#l00059">Point::getX()</a>, and <a class="el" href="Rectangle_8h_source.html#l00040">Rect::m_origin</a>.</p>

<p>Referenced by <a class="el" href="ViewBaseXML_8cxx_source.html#l00063">ViewBaseXML::createElement()</a>, <a class="el" href="QtViewImp_8cxx_source.html#l00698">QtViewImp::draw_Text()</a>, <a class="el" href="AxisRepColor_8cxx_source.html#l00237">AxisRepColor::drawColorScale()</a>, <a class="el" href="QtViewImp_8cxx_source.html#l01014">QtViewImp::drawImage()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00500">AxisRepBase::drawReferencePoint()</a>, <a class="el" href="QtViewImp_8cxx_source.html#l00917">QtViewImp::drawText()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00118">AxisRepBase::drawTitle()</a>, <a class="el" href="LinePointRep_8cxx_source.html#l00120">LinePointRep::drawValues()</a>, <a class="el" href="QtView_8cxx_source.html#l00067">QtView::drawWithPixmap()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00266">AxisRepBase::drawXLabels()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00536">AxisRepBase::drawXMag()</a>, <a class="el" href="AxisRepColor_8cxx_source.html#l00083">AxisRepColor::drawZLabels()</a>, <a class="el" href="AxisRepColor_8cxx_source.html#l00178">AxisRepColor::drawZTickLabels()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00094">AxisRepBase::initAxisRect()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00149">Rect::isInBounds()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00231">Rect::makeInBounds()</a>, <a class="el" href="DataView_8cxx_source.html#l00187">DataView::marginToInvertedUserX()</a>, <a class="el" href="DataView_8cxx_source.html#l00176">DataView::marginToUserX()</a>, <a class="el" href="QtView_8cxx_source.html#l00205">QtView::setDrawRect()</a>, <a class="el" href="PyCanvas_8cxx_source.html#l00481">PyCanvas::setHeight()</a>, <a class="el" href="PyCanvas_8cxx_source.html#l00497">PyCanvas::setWidth()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00188">AxisRepBase::setYFontSize()</a>, <a class="el" href="OpenGLView_8cxx_source.html#l00688">OpenGLView::toViewX()</a>, <a class="el" href="EpsView_8cxx_source.html#l00613">EpsView::toViewX()</a>, <a class="el" href="OpenGLView_8cxx_source.html#l00695">OpenGLView::toViewY()</a>, <a class="el" href="OpenGLView_8cxx_source.html#l00732">OpenGLView::toX()</a>, <a class="el" href="EpsView_8cxx_source.html#l00646">EpsView::toX()</a>, <a class="el" href="QtView_8cxx_source.html#l00188">QtView::updateDrawRect()</a>, <a class="el" href="DataView_8cxx_source.html#l00133">DataView::userToInvertedMarginX()</a>, <a class="el" href="DataView_8cxx_source.html#l00165">DataView::userToMarginColor()</a>, and <a class="el" href="DataView_8cxx_source.html#l00122">DataView::userToMarginX()</a>.</p>

</div>
</div>
<a class="anchor" id="acd84440598b1da2a23c326ce371db4e4"></a><!-- doxytag: member="hippodraw::Rect::getY" ref="acd84440598b1da2a23c326ce371db4e4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double getY </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A shortcut to get origin.Y. </p>

<p>Definition at line <a class="el" href="Rectangle_8h_source.html#l00162">162</a> of file <a class="el" href="Rectangle_8h_source.html">Rectangle.h</a>.</p>

<p>References <a class="el" href="Point_8h_source.html#l00067">Point::getY()</a>, and <a class="el" href="Rectangle_8h_source.html#l00040">Rect::m_origin</a>.</p>

<p>Referenced by <a class="el" href="ViewBaseXML_8cxx_source.html#l00063">ViewBaseXML::createElement()</a>, <a class="el" href="QtViewImp_8cxx_source.html#l00698">QtViewImp::draw_Text()</a>, <a class="el" href="AxisRepColor_8cxx_source.html#l00237">AxisRepColor::drawColorScale()</a>, <a class="el" href="ContourPointRep_8cxx_source.html#l00324">ContourPointRep::drawContourTicks()</a>, <a class="el" href="QtViewImp_8cxx_source.html#l01014">QtViewImp::drawImage()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00500">AxisRepBase::drawReferencePoint()</a>, <a class="el" href="QtViewImp_8cxx_source.html#l00917">QtViewImp::drawText()</a>, <a class="el" href="LinePointRep_8cxx_source.html#l00120">LinePointRep::drawValues()</a>, <a class="el" href="QtView_8cxx_source.html#l00067">QtView::drawWithPixmap()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00917">AxisRepBase::drawXTickLabels()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00385">AxisRepBase::drawYLabels()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00566">AxisRepBase::drawYMag()</a>, <a class="el" href="AxisRepColor_8cxx_source.html#l00083">AxisRepColor::drawZLabels()</a>, <a class="el" href="AxisRepColor_8cxx_source.html#l00178">AxisRepColor::drawZTickLabels()</a>, <a class="el" href="AxisRepColor_8cxx_source.html#l00135">AxisRepColor::drawZTickLines()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00094">AxisRepBase::initAxisRect()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00149">Rect::isInBounds()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00231">Rect::makeInBounds()</a>, <a class="el" href="DataView_8cxx_source.html#l00209">DataView::marginToInvertedUserY()</a>, <a class="el" href="DataView_8cxx_source.html#l00198">DataView::marginToUserY()</a>, <a class="el" href="QtView_8cxx_source.html#l00205">QtView::setDrawRect()</a>, <a class="el" href="PyCanvas_8cxx_source.html#l00481">PyCanvas::setHeight()</a>, <a class="el" href="PyCanvas_8cxx_source.html#l00497">PyCanvas::setWidth()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00160">AxisRepBase::setXFontSize()</a>, <a class="el" href="AxisRepBase_8cxx_source.html#l00243">AxisRepBase::setZFontSize()</a>, <a class="el" href="OpenGLView_8cxx_source.html#l00695">OpenGLView::toViewY()</a>, <a class="el" href="EpsView_8cxx_source.html#l00622">EpsView::toViewY()</a>, <a class="el" href="OpenGLView_8cxx_source.html#l00736">OpenGLView::toY()</a>, <a class="el" href="EpsView_8cxx_source.html#l00653">EpsView::toY()</a>, <a class="el" href="QtView_8cxx_source.html#l00188">QtView::updateDrawRect()</a>, <a class="el" href="DataView_8cxx_source.html#l00154">DataView::userToInvertedMarginY()</a>, and <a class="el" href="DataView_8cxx_source.html#l00144">DataView::userToMarginY()</a>.</p>

</div>
</div>
<a class="anchor" id="aa8d2d377de54332ea8f5c6191ddea692"></a><!-- doxytag: member="hippodraw::Rect::getZ" ref="aa8d2d377de54332ea8f5c6191ddea692" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double getZ </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A shortcut to get origin.Z. </p>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00098">98</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

<p>References <a class="el" href="Rectangle_8cxx_source.html#l00088">Rect::getOrigin()</a>, and <a class="el" href="Point_8h_source.html#l00074">Point::getZ()</a>.</p>

<p>Referenced by <a class="el" href="ColorBoxPointRep_8cxx_source.html#l00082">ColorBoxPointRep::drawProjectedValues()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00165">Rect::isInBounds()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00256">Rect::makeInBounds()</a>, and <a class="el" href="DataView_8cxx_source.html#l00165">DataView::userToMarginColor()</a>.</p>

</div>
</div>
<a class="anchor" id="a90e2c4a5ae5c96b8b656f8c6ea482692"></a><!-- doxytag: member="hippodraw::Rect::isInBounds" ref="a90e2c4a5ae5c96b8b656f8c6ea482692" args="(double x1, double y1, double z1) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool isInBounds </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>z1</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Checks the coordinates to see if they are inside or on the boundary of the rectangle. </p>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00165">165</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

<p>References <a class="el" href="Rectangle_8cxx_source.html#l00118">Rect::getDepth()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00113">Rect::getHeight()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00108">Rect::getWidth()</a>, <a class="el" href="Rectangle_8h_source.html#l00154">Rect::getX()</a>, <a class="el" href="Rectangle_8h_source.html#l00162">Rect::getY()</a>, and <a class="el" href="Rectangle_8cxx_source.html#l00098">Rect::getZ()</a>.</p>

</div>
</div>
<a class="anchor" id="a113e4881dc561d2a7233568b478551df"></a><!-- doxytag: member="hippodraw::Rect::isInBounds" ref="a113e4881dc561d2a7233568b478551df" args="(double x1, double y1) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool isInBounds </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>y1</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Checks the coordinates to see if they are inside or on the boundary of the rectangle. </p>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000052">Todo:</a></b></dt><dd>Use if ( x!=1 ) to est for nan. </dd></dl>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00149">149</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

<p>References <a class="el" href="Rectangle_8cxx_source.html#l00113">Rect::getHeight()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00108">Rect::getWidth()</a>, <a class="el" href="Rectangle_8h_source.html#l00154">Rect::getX()</a>, and <a class="el" href="Rectangle_8h_source.html#l00162">Rect::getY()</a>.</p>

<p>Referenced by <a class="el" href="LinePointRep_8cxx_source.html#l00271">LinePointRep::addEndPoints()</a>, and <a class="el" href="LinePointRep_8cxx_source.html#l00308">LinePointRep::cornerCase()</a>.</p>

</div>
</div>
<a class="anchor" id="a1562bb253fac5b114dfa4250f2baf67e"></a><!-- doxytag: member="hippodraw::Rect::isInDepth" ref="a1562bb253fac5b114dfa4250f2baf67e" args="(double z1) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool isInDepth </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>z1</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Checks the value against the depth to see if it is in bounds. </p>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000050">Todo:</a></b></dt><dd>The multicative factor the implementation might be considered a kludge. Might there be a better way.</dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000051">Todo:</a></b></dt><dd>The final solution for the comparison works when the depth is a very small number compared the the values. Is there a better numeric way. </dd></dl>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00136">136</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

<p>References <a class="el" href="Size_8h_source.html#l00072">Size::getDepth()</a>, <a class="el" href="Point_8h_source.html#l00074">Point::getZ()</a>, <a class="el" href="Rectangle_8h_source.html#l00040">Rect::m_origin</a>, and <a class="el" href="Rectangle_8h_source.html#l00043">Rect::m_size</a>.</p>

<p>Referenced by <a class="el" href="ColorBoxPointRep_8cxx_source.html#l00082">ColorBoxPointRep::drawProjectedValues()</a>.</p>

</div>
</div>
<a class="anchor" id="a0fba561bac16553f4b9f537301a2b11b"></a><!-- doxytag: member="hippodraw::Rect::makeInBounds" ref="a0fba561bac16553f4b9f537301a2b11b" args="(std::vector&lt; double &gt; &amp;x, std::vector&lt; double &gt; &amp;y, std::vector&lt; double &gt; &amp;z) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void makeInBounds </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; double &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; double &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; double &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>z</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Changes the coordinates so that they are inside or on the boundary of the rectangle. </p>
<p>That is, for each element of the vector <em>x</em> or <em>y</em> or <em>z</em>, leave it unchanged if it is within the rectangle; otherwise, set it to the boundary on which it exceeds. </p>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00256">256</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

<p>References <a class="el" href="Rectangle_8cxx_source.html#l00118">Rect::getDepth()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00113">Rect::getHeight()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00108">Rect::getWidth()</a>, <a class="el" href="Rectangle_8h_source.html#l00154">Rect::getX()</a>, <a class="el" href="Rectangle_8h_source.html#l00162">Rect::getY()</a>, and <a class="el" href="Rectangle_8cxx_source.html#l00098">Rect::getZ()</a>.</p>

</div>
</div>
<a class="anchor" id="a23053195db1c6380262a6d1241544747"></a><!-- doxytag: member="hippodraw::Rect::makeInBounds" ref="a23053195db1c6380262a6d1241544747" args="(std::vector&lt; double &gt; &amp;x, std::vector&lt; double &gt; &amp;y) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void makeInBounds </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; double &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; double &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>y</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Changes the coordinates so that they are inside or on the boundary of the rectangle. </p>
<p>That is, for each element of the vector <em>x</em> or <em>y</em>, leave it unchanged if it is within the rectangle; otherwise, set it to the boundary on which it exceeds. </p>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00231">231</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

<p>References <a class="el" href="Rectangle_8cxx_source.html#l00113">Rect::getHeight()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00108">Rect::getWidth()</a>, <a class="el" href="Rectangle_8h_source.html#l00154">Rect::getX()</a>, and <a class="el" href="Rectangle_8h_source.html#l00162">Rect::getY()</a>.</p>

</div>
</div>
<a class="anchor" id="a55906f4280bdfe781fda3dced9813d4c"></a><!-- doxytag: member="hippodraw::Rect::makeInBounds" ref="a55906f4280bdfe781fda3dced9813d4c" args="(double &amp;x, double &amp;y, double &amp;z) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void makeInBounds </td>
          <td>(</td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>z</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Changes the coordinates so that they are inside or on the boundary of the rectangle. </p>
<p>That is, for <em>x</em> or <em>y</em> or <em>z</em>, leave it unchanged if it is within the rectangle; otherwise, set it to the boundary on which it exceeds. </p>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00209">209</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

<p>References <a class="el" href="Size_8h_source.html#l00072">Size::getDepth()</a>, <a class="el" href="Size_8h_source.html#l00064">Size::getHeight()</a>, <a class="el" href="Size_8h_source.html#l00056">Size::getWidth()</a>, <a class="el" href="Point_8h_source.html#l00059">Point::getX()</a>, <a class="el" href="Point_8h_source.html#l00067">Point::getY()</a>, <a class="el" href="Point_8h_source.html#l00074">Point::getZ()</a>, <a class="el" href="Rectangle_8h_source.html#l00040">Rect::m_origin</a>, and <a class="el" href="Rectangle_8h_source.html#l00043">Rect::m_size</a>.</p>

</div>
</div>
<a class="anchor" id="a4d3aa2a3a88746ce6270b68812faca3c"></a><!-- doxytag: member="hippodraw::Rect::makeInBounds" ref="a4d3aa2a3a88746ce6270b68812faca3c" args="(double &amp;x, double &amp;y) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void makeInBounds </td>
          <td>(</td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&nbsp;</td>
          <td class="paramname"> <em>y</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Changes the coordinates so that they are inside or on the boundary of the rectangle. </p>
<p>That is, for <em>x</em> or <em>y</em>, leave it unchanged if it is within the rectangle; otherwise, set it to the boundary on which it exceeds. </p>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00185">185</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

<p>References <a class="el" href="Size_8h_source.html#l00064">Size::getHeight()</a>, <a class="el" href="Size_8h_source.html#l00056">Size::getWidth()</a>, <a class="el" href="Point_8h_source.html#l00059">Point::getX()</a>, <a class="el" href="Point_8h_source.html#l00067">Point::getY()</a>, <a class="el" href="Rectangle_8h_source.html#l00040">Rect::m_origin</a>, and <a class="el" href="Rectangle_8h_source.html#l00043">Rect::m_size</a>.</p>

<p>Referenced by <a class="el" href="ErrorBarRep_8cxx_source.html#l00136">ErrorBarRep::drawProjectedValues()</a>, <a class="el" href="ColumnPointRep_8cxx_source.html#l00118">ColumnPointRep::drawProjectedValues()</a>, <a class="el" href="ColorBoxPointRep_8cxx_source.html#l00082">ColorBoxPointRep::drawProjectedValues()</a>, <a class="el" href="ContourPointRep_8cxx_source.html#l00210">ContourPointRep::drawValues()</a>, and <a class="el" href="ContourPointRep_8cxx_source.html#l00099">ContourPointRep::drawValuesWithStyle()</a>.</p>

</div>
</div>
<a class="anchor" id="a0a54aee40f16bb73d33931f333f208be"></a><!-- doxytag: member="hippodraw::Rect::moveBy" ref="a0a54aee40f16bb73d33931f333f208be" args="(double x, double y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void moveBy </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>y</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Moves the Rectangle by specified amount. </p>
<p>The size remains unchanged. </p>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00083">83</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

<p>References <a class="el" href="Rectangle_8h_source.html#l00040">Rect::m_origin</a>, and <a class="el" href="Point_8cxx_source.html#l00030">Point::moveBy()</a>.</p>

</div>
</div>
<a class="anchor" id="a770777aa902687e8420ac2a611c3bff8"></a><!-- doxytag: member="hippodraw::Rect::setDepth" ref="a770777aa902687e8420ac2a611c3bff8" args="(double)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setDepth </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>d</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the depth of the rectangle. </p>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00124">124</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

<p>References <a class="el" href="Rectangle_8h_source.html#l00043">Rect::m_size</a>, and <a class="el" href="Size_8cxx_source.html#l00045">Size::setDepth()</a>.</p>

<p>Referenced by <a class="el" href="CompositePlotter_8cxx_source.html#l01516">CompositePlotter::calcUserRectangle()</a>.</p>

</div>
</div>
<a class="anchor" id="a04856ef24101641b8f504f8bda90513f"></a><!-- doxytag: member="hippodraw::Rect::setRect" ref="a04856ef24101641b8f504f8bda90513f" args="(double x, double y, double z, double width, double height, double depth)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setRect </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>depth</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the parameters of 3D Rectangle. </p>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00076">76</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

<p>References <a class="el" href="Rectangle_8h_source.html#l00040">Rect::m_origin</a>, <a class="el" href="Rectangle_8h_source.html#l00043">Rect::m_size</a>, <a class="el" href="Point_8cxx_source.html#l00019">Point::setPoint()</a>, and <a class="el" href="Size_8cxx_source.html#l00032">Size::setSize()</a>.</p>

</div>
</div>
<a class="anchor" id="a4e35ed485a6c714ac8b2707bb152af60"></a><!-- doxytag: member="hippodraw::Rect::setRect" ref="a4e35ed485a6c714ac8b2707bb152af60" args="(double x, double y, double width, double height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setRect </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>height</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the parameters of 2D Rectangle. </p>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00070">70</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

<p>References <a class="el" href="Rectangle_8h_source.html#l00040">Rect::m_origin</a>, <a class="el" href="Rectangle_8h_source.html#l00043">Rect::m_size</a>, <a class="el" href="Point_8cxx_source.html#l00019">Point::setPoint()</a>, and <a class="el" href="Size_8cxx_source.html#l00032">Size::setSize()</a>.</p>

<p>Referenced by <a class="el" href="OpenGLView_8cxx_source.html#l00036">OpenGLView::OpenGLView()</a>, <a class="el" href="DataView_8cxx_source.html#l00062">DataView::prepareMarginRect()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00057">Rect::Rect()</a>, <a class="el" href="EpsView_8cxx_source.html#l00608">EpsView::setDrawRect()</a>, and <a class="el" href="OpenGLView_8cxx_source.html#l00049">OpenGLView::setRect()</a>.</p>

</div>
</div>
<a class="anchor" id="a5c7441d63ee9d9d76d552f188cc7a14c"></a><!-- doxytag: member="hippodraw::Rect::setZ" ref="a5c7441d63ee9d9d76d552f188cc7a14c" args="(double)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setZ </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>z</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the Z dimension. </p>

<p>Definition at line <a class="el" href="Rectangle_8cxx_source.html#l00103">103</a> of file <a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a>.</p>

<p>References <a class="el" href="Rectangle_8h_source.html#l00040">Rect::m_origin</a>, and <a class="el" href="Point_8cxx_source.html#l00036">Point::setZ()</a>.</p>

<p>Referenced by <a class="el" href="CompositePlotter_8cxx_source.html#l01516">CompositePlotter::calcUserRectangle()</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="aeff5670a4ac7d3b61978676f40a1c088"></a><!-- doxytag: member="hippodraw::Rect::m_origin" ref="aeff5670a4ac7d3b61978676f40a1c088" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhippodraw_1_1Point.html">Point</a> <a class="el" href="classhippodraw_1_1Rect.html#aeff5670a4ac7d3b61978676f40a1c088">m_origin</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The origin of the Rectangle. </p>

<p>Definition at line <a class="el" href="Rectangle_8h_source.html#l00040">40</a> of file <a class="el" href="Rectangle_8h_source.html">Rectangle.h</a>.</p>

<p>Referenced by <a class="el" href="Rectangle_8cxx_source.html#l00088">Rect::getOrigin()</a>, <a class="el" href="Rectangle_8h_source.html#l00154">Rect::getX()</a>, <a class="el" href="Rectangle_8h_source.html#l00162">Rect::getY()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00136">Rect::isInDepth()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00185">Rect::makeInBounds()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00083">Rect::moveBy()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00070">Rect::setRect()</a>, and <a class="el" href="Rectangle_8cxx_source.html#l00103">Rect::setZ()</a>.</p>

</div>
</div>
<a class="anchor" id="ab671eca0216b5844e8ef60b4b4184487"></a><!-- doxytag: member="hippodraw::Rect::m_size" ref="ab671eca0216b5844e8ef60b4b4184487" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhippodraw_1_1Size.html">Size</a> <a class="el" href="classhippodraw_1_1Rect.html#ab671eca0216b5844e8ef60b4b4184487">m_size</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The size of the Rectangle. </p>

<p>Definition at line <a class="el" href="Rectangle_8h_source.html#l00043">43</a> of file <a class="el" href="Rectangle_8h_source.html">Rectangle.h</a>.</p>

<p>Referenced by <a class="el" href="Rectangle_8cxx_source.html#l00113">Rect::getHeight()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00093">Rect::getSize()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00108">Rect::getWidth()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00136">Rect::isInDepth()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00185">Rect::makeInBounds()</a>, <a class="el" href="Rectangle_8cxx_source.html#l00124">Rect::setDepth()</a>, and <a class="el" href="Rectangle_8cxx_source.html#l00070">Rect::setRect()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="Rectangle_8h_source.html">Rectangle.h</a></li>
<li><a class="el" href="Rectangle_8cxx_source.html">Rectangle.cxx</a></li>
</ul>
</div>
<hr size="1"><address style="align: right;"><small>
Generated for HippoDraw Class Library by <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0>
</a> </small></address>
</body>
</html>