Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bad97183153701b09df5fae1052b1c30 > files > 2722

crystalspace-doc-1.2.1-5mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Crystal Space 1.2.1: csShortestDistanceResult Struct Reference (Crystal Space 1.2.1 Public API Reference)</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="head">
 <tr height="59">
  <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td>
  <td class="head"><h2>Public API Reference</h2></td>
 </tr>
 <tr height="11">
  <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td>
 </tr>
</table>
<div class="content">
<!-- Generated by Doxygen 1.5.3 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li class="current"><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <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>
<h1>csShortestDistanceResult Struct Reference</h1><!-- doxytag: class="csShortestDistanceResult" -->Result structure for csEngineTools::FindShortestDistance().  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="enginetools_8h-source.html">cstool/enginetools.h</a>&gt;</code>
<p>

<p>
<a href="structcsShortestDistanceResult-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 Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classcsVector3.html">csVector3</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcsShortestDistanceResult.html#f710e3802324728a866d6a68a0014f83">direction</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This is a direction towards the destination point but corrected with space warping portals.  <a href="#f710e3802324728a866d6a68a0014f83"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcsShortestDistanceResult.html#adb4075d4fadcd5fcf5af2bed05f2d6e">sqdistance</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Squared distance between the two points or negative if the distance goes beyond the maximum radius.  <a href="#adb4075d4fadcd5fcf5af2bed05f2d6e"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Result structure for csEngineTools::FindShortestDistance(). 
<p>Definition at line <a class="el" href="enginetools_8h-source.html#l00040">40</a> of file <a class="el" href="enginetools_8h-source.html">enginetools.h</a>.</p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="f710e3802324728a866d6a68a0014f83"></a><!-- doxytag: member="csShortestDistanceResult::direction" ref="f710e3802324728a866d6a68a0014f83" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcsVector3.html">csVector3</a> <a class="el" href="structcsShortestDistanceResult.html#f710e3802324728a866d6a68a0014f83">csShortestDistanceResult::direction</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This is a direction towards the destination point but corrected with space warping portals. 
<p>
That means that if you go from the start position in the direction returned here you will end up at the destination point. 
<p>Definition at line <a class="el" href="enginetools_8h-source.html#l00054">54</a> of file <a class="el" href="enginetools_8h-source.html">enginetools.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="adb4075d4fadcd5fcf5af2bed05f2d6e"></a><!-- doxytag: member="csShortestDistanceResult::sqdistance" ref="adb4075d4fadcd5fcf5af2bed05f2d6e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="structcsShortestDistanceResult.html#adb4075d4fadcd5fcf5af2bed05f2d6e">csShortestDistanceResult::sqdistance</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Squared distance between the two points or negative if the distance goes beyond the maximum radius. 
<p>

<p>Definition at line <a class="el" href="enginetools_8h-source.html#l00046">46</a> of file <a class="el" href="enginetools_8h-source.html">enginetools.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>cstool/<a class="el" href="enginetools_8h-source.html">enginetools.h</a></ul>
<hr size="1"><address><small>Generated for Crystal Space 1.2.1 by 
<a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 
</small></address> </div></body> </html>