Sophie

Sophie

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

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: igeom/clip2d.h File 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><a href="classes.html"><span>Classes</span></a></li>
    <li class="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<h1>igeom/clip2d.h File Reference</h1>2D clipping interface <a href="#_details">More...</a>
<p>
<code>#include &quot;<a class="el" href="scf__interface_8h-source.html">csutil/scf_interface.h</a>&quot;</code><br>

<p>
<a href="clip2d_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcsVertexStatus.html">csVertexStatus</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The clipper can output additional information about each vertex in output polygon.  <a href="structcsVertexStatus.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiClipper2D.html">iClipper2D</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This interfaces represents a 2D clipper for polygons.  <a href="structiClipper2D.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__geom__utils.html#g341887053b96768adb51e5df20878869">MAX_OUTPUT_VERTICES</a>&nbsp;&nbsp;&nbsp;64</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Maximal number of vertices in output (clipped) polygons.  <a href="group__geom__utils.html#g341887053b96768adb51e5df20878869"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Clipper return codes</div></td></tr>
<tr><td colspan="2"><div class="groupText">The clipper routines return one of <code><a class="el" href="group__geom__utils.html#gg109bfaad92bd6d348dab484aec11edbb327d20023b6a973b24df4878ac1ca2a9" title="The input polygon is completely outside of clipper polygon.">CS_CLIP_OUTSIDE</a></code>, <code><a class="el" href="group__geom__utils.html#gg109bfaad92bd6d348dab484aec11edbb75e75d608a45eea6c9fda90b04aeefbd" title="The input polygon is completely inside (thus has not changed).">CS_CLIP_INSIDE</a></code>, <code><a class="el" href="group__geom__utils.html#gg109bfaad92bd6d348dab484aec11edbb5545e595302e89c3de51ec06a09ad73f" title="The input polygon was partially inside, partially outside.">CS_CLIP_CLIPPED</a></code> so that we can distinguish between the cases when input polygon is completely outside the clipping polygon (thus it is not visible), completely inside the clipping polygon (thus it has not changed) and partially outside, partially inside (thus it was clipped). <br><br></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="group__geom__utils.html#gg109bfaad92bd6d348dab484aec11edbb327d20023b6a973b24df4878ac1ca2a9">CS_CLIP_OUTSIDE</a> =  0, 
<a class="el" href="group__geom__utils.html#gg109bfaad92bd6d348dab484aec11edbb5545e595302e89c3de51ec06a09ad73f">CS_CLIP_CLIPPED</a> =  1, 
<a class="el" href="group__geom__utils.html#gg109bfaad92bd6d348dab484aec11edbb75e75d608a45eea6c9fda90b04aeefbd">CS_CLIP_INSIDE</a> =  2
 }</td></tr>

<tr><td colspan="2"><div class="groupHeader">Additional vertex informations</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="group__geom__utils.html#gg550cb4231d535863c55643bbd2d3c6bab2c5f01a5c75c95a126f9352fecc63db">CS_VERTEX_ORIGINAL</a> =  0, 
<a class="el" href="group__geom__utils.html#gg550cb4231d535863c55643bbd2d3c6ba5648edc14e0bc979178d7f7cf4ad76d5">CS_VERTEX_ONEDGE</a> =  1, 
<a class="el" href="group__geom__utils.html#gg550cb4231d535863c55643bbd2d3c6ba38ad988c5e359fec3a8328c9965a691c">CS_VERTEX_INSIDE</a> =  2
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clipped vertex type.  <a href="group__geom__utils.html#g550cb4231d535863c55643bbd2d3c6ba">More...</a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
2D clipping interface 
<p>

<p>Definition in file <a class="el" href="clip2d_8h-source.html">clip2d.h</a>.</p>
<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>