A beveled (rounded) segment shape. More...
#import <ChipmunkShape.h>
Inherits ChipmunkShape.
Inherited by ChipmunkStaticSegmentShape.
Public Member Functions | |
(id) | - initWithBody:from:to:radius: |
Initialize a segment shape with the given endpoints and radius. | |
Static Public Member Functions | |
(id) | + segmentWithBody:from:to:radius: |
Create an autoreleased segment shape with the given endpoints and radius. | |
Properties | |
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. |
A beveled (rounded) segment shape.