1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Objective Chipmunk: ChipmunkPolyShape Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.7.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
<div class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li id="searchli">
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="#properties">Properties</a> </div>
<div class="headertitle">
<h1>ChipmunkPolyShape Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="ChipmunkPolyShape" --><!-- doxytag: inherits="ChipmunkShape" -->
<p>A convex polygon shape.
<a href="#_details">More...</a></p>
<p><code>#import <<a class="el" href="_chipmunk_shape_8h_source.html">ChipmunkShape.h</a>></code></p>
<p>Inherits <a class="el" href="interface_chipmunk_shape.html">ChipmunkShape</a>.</p>
<p>Inherited by <a class="el" href="interface_chipmunk_static_poly_shape.html">ChipmunkStaticPolyShape</a>.</p>
<p><a href="class_chipmunk_poly_shape-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a59bf25e073c825a825ec523c440fb8fb"></a><!-- doxytag: member="ChipmunkPolyShape::initWithBody:count:verts:offset:" ref="a59bf25e073c825a825ec523c440fb8fb" args="(ChipmunkBody *body,[count] int count,[verts] cpVect *verts,[offset] cpVect offset)" -->
(id) </td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_chipmunk_poly_shape.html#a59bf25e073c825a825ec523c440fb8fb">initWithBody:count:verts:offset:</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize a polygon shape from the given vertex and offset from the center of gravity. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a88d1484d83b6950c31f4b27cd57def7b"></a><!-- doxytag: member="ChipmunkPolyShape::initBoxWithBody:width:height:" ref="a88d1484d83b6950c31f4b27cd57def7b" args="(ChipmunkBody *body,[width] cpFloat width,[height] cpFloat height)" -->
(id) </td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_chipmunk_poly_shape.html#a88d1484d83b6950c31f4b27cd57def7b">initBoxWithBody:width:height:</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize a box shape centered on the center of gravity. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22dd1d621e68fceacd34dc5f357883cb"></a><!-- doxytag: member="ChipmunkPolyShape::getVertex:" ref="a22dd1d621e68fceacd34dc5f357883cb" args="(int index)" -->
(cpVect) </td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_chipmunk_poly_shape.html#a22dd1d621e68fceacd34dc5f357883cb">getVertex:</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Access the vertexes of this polygon. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a16e12efaadde385b041e8670abe42a1c"></a><!-- doxytag: member="ChipmunkPolyShape::polyWithBody:count:verts:offset:" ref="a16e12efaadde385b041e8670abe42a1c" args="(ChipmunkBody *body,[count] int count,[verts] cpVect *verts,[offset] cpVect offset)" -->
(id) </td><td class="memItemRight" valign="bottom">+ <a class="el" href="interface_chipmunk_poly_shape.html#a16e12efaadde385b041e8670abe42a1c">polyWithBody:count:verts:offset:</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create an autoreleased polygon shape from the given vertex and offset from the center of gravity. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2992903911f2dbb2c335597f0deb04e4"></a><!-- doxytag: member="ChipmunkPolyShape::boxWithBody:width:height:" ref="a2992903911f2dbb2c335597f0deb04e4" args="(ChipmunkBody *body,[width] cpFloat width,[height] cpFloat height)" -->
(id) </td><td class="memItemRight" valign="bottom">+ <a class="el" href="interface_chipmunk_poly_shape.html#a2992903911f2dbb2c335597f0deb04e4">boxWithBody:width:height:</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create an autoreleased box shape centered on the center of gravity. <br/></td></tr>
<tr><td colspan="2"><h2><a name="properties"></a>
Properties</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a109262ca0ff22d8bb5cb7cfb7031d535"></a><!-- doxytag: member="ChipmunkPolyShape::count" ref="a109262ca0ff22d8bb5cb7cfb7031d535" args="" -->
int </td><td class="memItemRight" valign="bottom"><a class="el" href="interface_chipmunk_poly_shape.html#a109262ca0ff22d8bb5cb7cfb7031d535">count</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The number of vertexes in this polygon. <br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A convex polygon shape. </p>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_chipmunk_shape_8h_source.html">ChipmunkShape.h</a></li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Properties</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Mon Dec 13 2010 18:43:39 for Objective Chipmunk by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
|