File: GetSegment.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 (6 lines) | stat: -rw-r--r-- 2,848 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
<!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="../Collision.html">Collision</a> | <a href="../Collision/GetSegment.html">GetSegment</a></div><br><div class="BigHeader">GetSegment</div><br><div class=""><div class="Surrounded"><table><tr valign="top"><td align="right"><div class="FuncDef"><strong><a href="../Shape/Line.html"><font color="#0000CC">Line</font></a> <a href="../Collision/GetSegment.html"><font color="#0000CC">GetSegment</font></a>(</strong></div></td><td><div class="FuncDef"><strong>CollidingObject objectID )
<br></strong></div></td></tr></table>
<br>Returns the specified colliding line segment. ObjectID should be either one of these:
<br>- <i>OBJ_A</i>: The first colliding object
<br>- <i>OBJ_B</i>: The second colliding object
<br></div></div><br><div class="MediumHeader">Other functions of the class <a href="../Collision.html"><font color="#0000CC">Collision</font></a></div><div class="Surrounded"><table size="100%" cellpadding="0" cellspacing="0"><tr><td halign="center" class="funclist"><a href="../Collision/GetPoint.html">GetPoint</a></td><td width="65%" halign="center"><div class="smalltext">Returns the exact point of the collision</div></td></tr><tr><td halign="center" class="funclist"><a href="../Collision/GetSegment.html">GetSegment</a></td><td width="65%" halign="center"><div class="smalltext">Returns the specified colliding line segment</div></td></tr><tr><td halign="center" class="funclist"><a href="../Collision/IsCollision.html">IsCollision</a></td><td width="65%" halign="center"><div class="smalltext">Returns true if a collision has really happened</div></td></tr><tr><td halign="center" class="funclist"><a href="../Collision/GetNormal.html">GetNormal</a></td><td width="65%" halign="center"><div class="smalltext">Returns the normal of a colliding object at the collision point</div></td></tr><tr><td halign="center" class="funclist"><a href="../Collision/GetAllPoints.html">GetAllPoints</a></td><td width="65%" halign="center"><div class="smalltext">Returns all collision points</div></td></tr><tr><td halign="center" class="funclist"><a href="../Collision/GetAllSegments.html">GetAllSegments</a></td><td width="65%" halign="center"><div class="smalltext">Returns all pairs of colliding segments</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 GetSegment? Click <a href="http://crystalstorm.ath.cx/index.php?lan=en&page=CreateFeedback&subject=GetSegment">here.</a></div></td></tr></table></body></html>