R/chipmunk.R
cpAreaForSegment.Rd
Calculate 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);