Chipmunk2D Pro API Reference  6.2.1
 All Classes Functions Variables Typedefs Properties Groups Pages
List of all members
ChipmunkStaticSegmentShape Class Reference

A subclass of ChipmunkSegmentShape that is added as a static shape when using add: (ChipmunkSpace). More...

#import <ChipmunkShape.h>

Inherits ChipmunkSegmentShape.

Additional Inherited Members

- Instance Methods inherited from ChipmunkSegmentShape
(id) - initWithBody:from:to:radius:
 Initialize a segment shape with the given endpoints and radius.
 
(void) - setPrevNeighbor:nextNeighbor:
 Let Chipmunk know about the geometry of adjacent segments to avoid colliding with endcaps.
 
- Class Methods inherited from ChipmunkSegmentShape
(id) + segmentWithBody:from:to:radius:
 Create an autoreleased segment shape with the given endpoints and radius.
 
- Properties inherited from ChipmunkSegmentShape
cpVect a
 The start of the segment shape.
 
cpVect b
 The end of the segment shape.
 
cpVect normal
 The normal of the segment shape.
 
cpFloat radius
 The beveling radius of the segment shape.
 

Detailed Description

A subclass of ChipmunkSegmentShape that is added as a static shape when using add: (ChipmunkSpace).


The documentation for this class was generated from the following file: