Sophie

Sophie

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

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: csTraceBeamResult 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>csTraceBeamResult Struct Reference</h1><!-- doxytag: class="csTraceBeamResult" -->Return structure for the <a class="el" href="classcsColliderHelper.html#b7ae9ca6822a4666ae7663b70bd97a08" title="Trace a beam from &#39;start&#39; to &#39;end&#39; and return the first hit.">csColliderHelper::TraceBeam()</a> method.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="cstool_2collider_8h-source.html">cstool/collider.h</a>&gt;</code>
<p>

<p>
<a href="structcsTraceBeamResult-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="structcsTraceBeamResult.html#c345922daba1648ec492d16f2c34de94">closest_isect</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">closest_isect will be set to the closest intersection point (in world space).  <a href="#c345922daba1648ec492d16f2c34de94"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structiMeshWrapper.html">iMeshWrapper</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcsTraceBeamResult.html#66ac8566413963a17c1ddec058701840">closest_mesh</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">closest_mesh will be set to the closest mesh that is hit.  <a href="#66ac8566413963a17c1ddec058701840"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structcsIntersectingTriangle.html">csIntersectingTriangle</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcsTraceBeamResult.html#f5e4f83424af9952a2daa7cb14b69297">closest_tri</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Closest triangle from the model.  <a href="#f5e4f83424af9952a2daa7cb14b69297"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structiSector.html">iSector</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcsTraceBeamResult.html#2230e410c449422c2c8ecfe2f2733fe8">end_sector</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sector in which the collision occured.  <a href="#2230e410c449422c2c8ecfe2f2733fe8"></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="structcsTraceBeamResult.html#379d9779aafd414c7a822c65f029d823">sqdistance</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The squared distance between 'start' and the closest hit or else a negative number if there was no hit.  <a href="#379d9779aafd414c7a822c65f029d823"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Return structure for the <a class="el" href="classcsColliderHelper.html#b7ae9ca6822a4666ae7663b70bd97a08" title="Trace a beam from &#39;start&#39; to &#39;end&#39; and return the first hit.">csColliderHelper::TraceBeam()</a> method. 
<p>Definition at line <a class="el" href="cstool_2collider_8h-source.html#l00202">202</a> of file <a class="el" href="cstool_2collider_8h-source.html">collider.h</a>.</p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="c345922daba1648ec492d16f2c34de94"></a><!-- doxytag: member="csTraceBeamResult::closest_isect" ref="c345922daba1648ec492d16f2c34de94" 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="structcsTraceBeamResult.html#c345922daba1648ec492d16f2c34de94">csTraceBeamResult::closest_isect</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
closest_isect will be set to the closest intersection point (in world space). 
<p>

<p>Definition at line <a class="el" href="cstool_2collider_8h-source.html#l00214">214</a> of file <a class="el" href="cstool_2collider_8h-source.html">collider.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="66ac8566413963a17c1ddec058701840"></a><!-- doxytag: member="csTraceBeamResult::closest_mesh" ref="66ac8566413963a17c1ddec058701840" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structiMeshWrapper.html">iMeshWrapper</a>* <a class="el" href="structcsTraceBeamResult.html#66ac8566413963a17c1ddec058701840">csTraceBeamResult::closest_mesh</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
closest_mesh will be set to the closest mesh that is hit. 
<p>

<p>Definition at line <a class="el" href="cstool_2collider_8h-source.html#l00218">218</a> of file <a class="el" href="cstool_2collider_8h-source.html">collider.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="f5e4f83424af9952a2daa7cb14b69297"></a><!-- doxytag: member="csTraceBeamResult::closest_tri" ref="f5e4f83424af9952a2daa7cb14b69297" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcsIntersectingTriangle.html">csIntersectingTriangle</a> <a class="el" href="structcsTraceBeamResult.html#f5e4f83424af9952a2daa7cb14b69297">csTraceBeamResult::closest_tri</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Closest triangle from the model. 
<p>
closest_tri will be set to the closest triangle that is hit. The triangle will be specified in world space. 
<p>Definition at line <a class="el" href="cstool_2collider_8h-source.html#l00209">209</a> of file <a class="el" href="cstool_2collider_8h-source.html">collider.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="2230e410c449422c2c8ecfe2f2733fe8"></a><!-- doxytag: member="csTraceBeamResult::end_sector" ref="2230e410c449422c2c8ecfe2f2733fe8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structiSector.html">iSector</a>* <a class="el" href="structcsTraceBeamResult.html#2230e410c449422c2c8ecfe2f2733fe8">csTraceBeamResult::end_sector</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sector in which the collision occured. 
<p>

<p>Definition at line <a class="el" href="cstool_2collider_8h-source.html#l00227">227</a> of file <a class="el" href="cstool_2collider_8h-source.html">collider.h</a>.</p>

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

<p>
The squared distance between 'start' and the closest hit or else a negative number if there was no hit. 
<p>

<p>Definition at line <a class="el" href="cstool_2collider_8h-source.html#l00223">223</a> of file <a class="el" href="cstool_2collider_8h-source.html">collider.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="cstool_2collider_8h-source.html">collider.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>