|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MassData | |
---|---|
org.jbox2d.collision | This package contains the broad and narrow phase collision algorithms. |
org.jbox2d.collision.shapes | |
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. |
Constructors in org.jbox2d.collision with parameters of type MassData | |
---|---|
MassData(MassData md)
Copies from the given mass data |
Uses of MassData in org.jbox2d.collision.shapes |
---|
Methods in org.jbox2d.collision.shapes 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 |
PointShape.computeMass(MassData massData)
|
void |
EdgeShape.computeMass(MassData massData)
|
void |
CircleShape.computeMass(MassData massData)
|
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 |