Public Member Functions | Static Public Member Functions | Properties

ChipmunkSegmentShape Class Reference

A beveled (rounded) segment shape. More...

#import <ChipmunkShape.h>

Inherits ChipmunkShape.

Inherited by ChipmunkStaticSegmentShape.

List of all members.

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.

Detailed Description

A beveled (rounded) segment shape.


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