|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MassData | |
|---|---|
| org.jbox2d.collision | This package contains the broad and narrow phase collision algorithms. |
| org.jbox2d.dynamics | This package handles non-collision aspects of simulation. |
| Uses of MassData in org.jbox2d.collision |
|---|
| Methods in org.jbox2d.collision that return MassData | |
|---|---|
MassData |
MassData.clone()
Return a copy of this object. |
| Methods in org.jbox2d.collision with parameters of type MassData | |
|---|---|
abstract void |
Shape.computeMass(MassData massData)
Compute the mass properties of this shape using its dimensions and density. |
void |
PolygonShape.computeMass(MassData massData)
|
void |
CircleShape.computeMass(MassData massData)
|
| Constructors in org.jbox2d.collision with parameters of type MassData | |
|---|---|
MassData(MassData md)
|
|
| Uses of MassData in org.jbox2d.dynamics |
|---|
| Fields in org.jbox2d.dynamics declared as MassData | |
|---|---|
MassData |
BodyDef.massData
You can use this to initialized the mass properties of the body. |
| Methods in org.jbox2d.dynamics with parameters of type MassData | |
|---|---|
void |
Body.setMass(MassData massData)
Set the mass properties. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||