|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MassData | |
---|---|
org.jbox2d.collision.shapes | |
org.jbox2d.dynamics |
Uses of MassData in org.jbox2d.collision.shapes |
---|
Methods in org.jbox2d.collision.shapes that return MassData | |
---|---|
MassData |
MassData.clone()
Return a copy of this object. |
Methods in org.jbox2d.collision.shapes with parameters of type MassData | |
---|---|
abstract void |
Shape.computeMass(MassData massData,
float density)
Compute the mass properties of this shape using its dimensions and density. |
void |
PolygonShape.computeMass(MassData massData,
float density)
|
void |
EdgeShape.computeMass(MassData massData,
float density)
|
void |
CircleShape.computeMass(MassData massData,
float density)
|
void |
ChainShape.computeMass(MassData massData,
float density)
|
void |
MassData.set(MassData md)
|
Constructors in org.jbox2d.collision.shapes with parameters of type MassData | |
---|---|
MassData(MassData md)
Copies from the given mass data |
Uses of MassData in org.jbox2d.dynamics |
---|
Methods in org.jbox2d.dynamics with parameters of type MassData | |
---|---|
void |
Fixture.getMassData(MassData massData)
Get the mass data for this fixture. |
void |
Body.getMassData(MassData data)
Get the mass data of the body. |
void |
Body.setMassData(MassData massData)
Set the mass properties to override the mass properties of the fixtures. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |