Uses of Class
org.jbox2d.collision.shapes.MassData
Packages that use MassData
-
Uses of MassData in org.jbox2d.collision.shapes
Methods in org.jbox2d.collision.shapes that return MassDataMethods in org.jbox2d.collision.shapes with parameters of type MassDataModifier and TypeMethodDescriptionvoid
ChainShape.computeMass
(MassData massData, float density) final void
CircleShape.computeMass
(MassData massData, float density) void
EdgeShape.computeMass
(MassData massData, float density) void
PolygonShape.computeMass
(MassData massData, float density) abstract void
Shape.computeMass
(MassData massData, float density) Compute the mass properties of this shape using its dimensions and density.void
Constructors in org.jbox2d.collision.shapes with parameters of type MassData -
Uses of MassData in org.jbox2d.dynamics
Fields in org.jbox2d.dynamics declared as MassDataMethods in org.jbox2d.dynamics with parameters of type MassDataModifier and TypeMethodDescriptionfinal void
Body.getMassData
(MassData data) Get the mass data of the body.void
Fixture.getMassData
(MassData massData) Get the mass data for this fixture.final void
Body.setMassData
(MassData massData) Set the mass properties to override the mass properties of the fixtures.