Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 96617cbbea5434e5cff4ccd67437c037 > files > 110

mercator-devel-0.2.7-3.fc12.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Mercator: Mercator::RightClip Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</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>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</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"><b>Mercator</b>::<a class="el" href="classMercator_1_1RightClip.html">RightClip</a>
  </div>
</div>
<div class="contents">
<h1>Mercator::RightClip Class Reference</h1><!-- doxytag: class="Mercator::RightClip" -->Helper to clip points to a given range.  
<a href="#_details">More...</a>
<p>

<p>
<a href="classMercator_1_1RightClip-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMercator_1_1RightClip.html#bc3bfb9d77c226198f653790a9df258c">RightClip</a> (double t)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMercator_1_1RightClip.html#6c43a5ec04de3c9e4009d5055fac0f22">inside</a> (const Point2 &amp;p) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check a point is outside this clip.  <a href="#6c43a5ec04de3c9e4009d5055fac0f22"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Point2&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMercator_1_1RightClip.html#e91dfa1d81624448af3433fb2e14b55d">clip</a> (const Point2 &amp;u, const Point2 &amp;v) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determine the point where a line crosses this clip.  <a href="#e91dfa1d81624448af3433fb2e14b55d"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dc62b6c912253c07a00eb188a5cee7e0"></a><!-- doxytag: member="Mercator::RightClip::rightX" ref="dc62b6c912253c07a00eb188a5cee7e0" args="" -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMercator_1_1RightClip.html#dc62b6c912253c07a00eb188a5cee7e0">rightX</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Right of x range. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Helper to clip points to a given range. <hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="bc3bfb9d77c226198f653790a9df258c"></a><!-- doxytag: member="Mercator::RightClip::RightClip" ref="bc3bfb9d77c226198f653790a9df258c" args="(double t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Mercator::RightClip::RightClip           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>t</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>t</em>&nbsp;</td><td>right of x range. </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="e91dfa1d81624448af3433fb2e14b55d"></a><!-- doxytag: member="Mercator::RightClip::clip" ref="e91dfa1d81624448af3433fb2e14b55d" args="(const Point2 &amp;u, const Point2 &amp;v) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Point2 Mercator::RightClip::clip           </td>
          <td>(</td>
          <td class="paramtype">const Point2 &amp;&nbsp;</td>
          <td class="paramname"> <em>u</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Point2 &amp;&nbsp;</td>
          <td class="paramname"> <em>v</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determine the point where a line crosses this clip. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>u</em>&nbsp;</td><td>one of of a line that crosses this clip </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>v</em>&nbsp;</td><td>one of of a line that crosses this clip </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a point where the line cross this clip. </dd></dl>

<p>References <a class="el" href="Area_8cpp_source.html#l00175">rightX</a>.</p>

</div>
</div><p>
<a class="anchor" name="6c43a5ec04de3c9e4009d5055fac0f22"></a><!-- doxytag: member="Mercator::RightClip::inside" ref="6c43a5ec04de3c9e4009d5055fac0f22" args="(const Point2 &amp;p) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Mercator::RightClip::inside           </td>
          <td>(</td>
          <td class="paramtype">const Point2 &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Check a point is outside this clip. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>point to be checked. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if p is outside the clip. </dd></dl>

<p>References <a class="el" href="Area_8cpp_source.html#l00175">rightX</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>Area.cpp</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated for Mercator by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>