Public Member Functions | Static Public Member Functions | Properties

ChipmunkPolyShape Class Reference

A convex polygon shape. More...

#import <ChipmunkShape.h>

Inherits ChipmunkShape.

Inherited by ChipmunkStaticPolyShape.

List of all members.

Public Member Functions

(id) - initWithBody:count:verts:offset:
 Initialize a polygon shape from the given vertex and offset from the center of gravity.
(id) - initBoxWithBody:width:height:
 Initialize a box shape centered on the center of gravity.
(cpVect) - getVertex:
 Access the vertexes of this polygon.

Static Public Member Functions

(id) + polyWithBody:count:verts:offset:
 Create an autoreleased polygon shape from the given vertex and offset from the center of gravity.
(id) + boxWithBody:width:height:
 Create an autoreleased box shape centered on the center of gravity.

Properties

int count
 The number of vertexes in this polygon.

Detailed Description

A convex polygon shape.


The documentation for this class was generated from the following file:
 All Classes Functions Properties