Capsule Class
Capsule shape class.
Constructor
Capsule
(
-
length
-
radius
Parameters:
-
length
NumberThe distance between the end points
-
radius
NumberRadius of the capsule
Item Index
Methods
Methods
conputeMomentOfInertia
(
Number
-
mass
Compute the mass moment of inertia of the Capsule.
Parameters:
-
mass
Number
Returns:
Number: