File: Collides.html

package info (click to toggle)
openlayer 2.1-2.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 3,392 kB
  • ctags: 2,317
  • sloc: ansic: 10,433; cpp: 9,890; xml: 109; makefile: 90; sh: 36
file content (7 lines) | stat: -rw-r--r-- 4,063 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transistional//EN"><html><head><title>OpenLayer Offline Manual</title><style type="text/css" media="all">@import "../CrystalStyle.css";</style><body bgcolor="FFFFFF" ><div align="center" style="pagestyle"><table width="60%"><tr><td><div class="parentLinks"><a href="../index.html">OpenLayer</a> | <a href="../Shape.html">Shape</a> | <a href="../Shape/Poly.html">Poly</a> | <a href="../Poly/Collides.html">Collides</a></div><br><div class="BigHeader">Collides</div><br><div class=""><div class="Surrounded"><table><tr valign="top"><td align="right"><div class="FuncDef"><strong><font color="#777733">bool</font> <a href="..//Collides.html"><font color="#0000CC">Collides</font></a>(</strong></div></td><td><div class="FuncDef"><strong><font color="#777733">const</font> <a href="../Shape/Poly.html"><font color="#0000CC">Poly</font></a> &amp;other,
<br><font color="#777733">const</font> <a href="../Placement.html"><font color="#0000CC">Placement</font></a> &amp;thisPlacement,
<br><font color="#777733">const</font> <a href="../Placement.html"><font color="#0000CC">Placement</font></a> &amp;otherPlacement )
<br></strong></div></td></tr></table>
<br>Returns true if this polygon collides with the another polygon.
<br></div>
<br>The Placements define how the polygons are placed when testing for a collision.</div><br><div class="MediumHeader">Other functions of the class <a href="../Shape/Poly.html"><font color="#0000CC">Poly</font></a></div><div class="Surrounded"><table size="100%" cellpadding="0" cellspacing="0"><tr><td halign="center" class="funclist"><a href="../Poly/Add.html">Add</a></td><td width="65%" halign="center"><div class="smalltext">Adds a vertex to the polygon</div></td></tr><tr><td halign="center" class="funclist"><a href="../Poly/GetVertex.html">GetVertex</a></td><td width="65%" halign="center"><div class="smalltext">Returns the specified vertex</div></td></tr><tr><td halign="center" class="funclist"><a href="../Poly/GetNumberOfVertices.html">GetNumberOfVertices</a></td><td width="65%" halign="center"><div class="smalltext">Returns the number of vertices in the polygon</div></td></tr><tr><td halign="center" class="funclist"><a href="../Poly/Draw.html">Draw</a></td><td width="65%" halign="center"><div class="smalltext">Draws a filled polygon.</div></td></tr><tr><td halign="center" class="funclist"><a href="../Poly/DrawOutline.html">DrawOutline</a></td><td width="65%" halign="center"><div class="smalltext">Draws an outline of the polygon</div></td></tr><tr><td halign="center" class="funclist"><a href="../Poly/Collides.html">Collides</a></td><td width="65%" halign="center"><div class="smalltext">Tests if two polygons collide</div></td></tr><tr><td halign="center" class="funclist"><a href="../Poly/GetCollision.html">GetCollision</a></td><td width="65%" halign="center"><div class="smalltext">Checks for a collision and returns detailed information about the collision</div></td></tr><tr><td halign="center" class="funclist"><a href="../Poly/GetVertices.html">GetVertices</a></td><td width="65%" halign="center"><div class="smalltext">Returns the list of the vertices in the polygon</div></td></tr><tr><td halign="center" class="funclist"><a href="../Poly/SetPivot.html">SetPivot</a></td><td width="65%" halign="center"><div class="smalltext">Sets the rotation pivot</div></td></tr><tr><td halign="center" class="funclist"><a href="../Poly/GetPivot.html">GetPivot</a></td><td width="65%" halign="center"><div class="smalltext">Returns the the rotation  pivot</div></td></tr><tr><td halign="center" class="funclist"><a href="../Poly/SetOutlineTexture.html">SetOutlineTexture</a></td><td width="65%" halign="center"><div class="smalltext">Sets the texture of the outline of the polygon</div></td></tr></table></div><br><div class=""><a href="../index.html">Back to the main page of the manual</a></div><br>Questions about Collides? Click <a href="http://crystalstorm.ath.cx/index.php?lan=en&page=CreateFeedback&subject=Collides">here.</a></div></td></tr></table></body></html>