R/chipmunk.R
cpAreaForSegment.RdCalculate the area of a fattened (capsule shaped) line segment.
cpAreaForSegment(a, b, radius)
| a | [ |
|---|---|
| b | [ |
| radius | [ |
[cpFloat]
C function prototype: CP_EXPORT cpFloat cpAreaForSegment(cpVect a, cpVect b, cpFloat radius);