Search
Preparing search index...
The search index is not available
gtools
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
gtools
physics/objects/2d/capsule-2d
Capsule2D
Class Capsule2D
https://github.com/schteppe/p2.js/blob/master/src/shapes/Capsule.js
Hierarchy
Capsule2D
Implements
MassAble2D
Index
Constructors
constructor
Accessors
area
bounding
Radius
circuit
length
moment
OfInertia
Methods
to
Min
Max
Constructors
constructor
new
Capsule2D
(
start
:
SimpleVector2
, end
:
SimpleVector2
, radius
:
number
)
:
Capsule2D
Parameters
start:
SimpleVector2
end:
SimpleVector2
radius:
number
Returns
Capsule2D
Accessors
area
get
area
(
)
:
number
Returns
number
bounding
Radius
get
boundingRadius
(
)
:
number
Returns
number
circuit
get
circuit
(
)
:
number
Returns
number
length
get
length
(
)
:
number
Returns
number
moment
OfInertia
get
momentOfInertia
(
)
:
number
Returns
number
Methods
to
Min
Max
to
Min
Max
(
)
:
MinMax2D
Returns
MinMax2D
Modules
physics/objects/2d/capsule-
2d
Capsule2D
constructor
area
bounding
Radius
circuit
length
moment
OfInertia
to
Min
Max
Generated using
TypeDoc
https://github.com/schteppe/p2.js/blob/master/src/shapes/Capsule.js