<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 Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><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="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="dir_eff62de51072964fc77c85daa9c2b3ad.html">transforms</a> </div> </div> <div class="contents"> <h1>UnaryTransform.cxx</h1><a href="UnaryTransform_8cxx.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <a name="l00012"></a>00012 <span class="preprocessor">#include "<a class="code" href="UnaryTransform_8h.html" title="UnaryTransform class interface.">UnaryTransform.h</a>"</span> <a name="l00013"></a>00013 <a name="l00014"></a>00014 <span class="preprocessor">#include <cassert></span> <a name="l00015"></a>00015 <a name="l00016"></a>00016 <span class="keyword">namespace </span>hippodraw { <a name="l00017"></a>00017 <a name="l00018"></a><a class="code" href="classhippodraw_1_1UnaryTransform.html#a7e0ad32548de8911142c5b3dba898397">00018</a> <a class="code" href="classhippodraw_1_1UnaryTransform.html#a7e0ad32548de8911142c5b3dba898397" title="Constructor for setting m_limits.">UnaryTransform::UnaryTransform</a> ( <span class="keywordtype">double</span> low, <span class="keywordtype">double</span> high ) <a name="l00019"></a>00019 : m_limits ( low, high ) <a name="l00020"></a>00020 { <a name="l00021"></a>00021 } <a name="l00022"></a>00022 <a name="l00023"></a><a class="code" href="classhippodraw_1_1UnaryTransform.html#a0246335204f2b38937f2d357437be278">00023</a> <a class="code" href="classhippodraw_1_1UnaryTransform.html#a0246335204f2b38937f2d357437be278" title="The virtual destructor.">UnaryTransform::~UnaryTransform</a> () <a name="l00024"></a>00024 { <a name="l00025"></a>00025 } <a name="l00026"></a>00026 <a name="l00027"></a>00027 <span class="comment">/* virtual */</span> <a name="l00028"></a><a class="code" href="classhippodraw_1_1UnaryTransform.html#a13cb9ad6f1bda804d728eac5fff636e7">00028</a> <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1Range.html" title="Expresses a range of values.">Range</a> & <a class="code" href="classhippodraw_1_1UnaryTransform.html#a13cb9ad6f1bda804d728eac5fff636e7" title="Returns a Range whose values are the limits on the coordinate.">UnaryTransform::limits</a> ()<span class="keyword"> const</span> <a name="l00029"></a>00029 <span class="keyword"></span>{ <a name="l00030"></a>00030 <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1UnaryTransform.html#a5f51d54c394c5b3774bb70ea0a3e56bf" title="The valid Range of the transform.">m_limits</a>; <a name="l00031"></a>00031 } <a name="l00032"></a>00032 <a name="l00033"></a>00033 } <span class="comment">// namespace hippodraw</span> <a name="l00034"></a>00034 </pre></div></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>