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 TypeMethodDescriptionvoidChainShape.computeMass(MassData massData, float density) final voidCircleShape.computeMass(MassData massData, float density) voidEdgeShape.computeMass(MassData massData, float density) voidPolygonShape.computeMass(MassData massData, float density) abstract voidShape.computeMass(MassData massData, float density) Compute the mass properties of this shape using its dimensions and density.voidConstructors 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 voidBody.getMassData(MassData data) Get the mass data of the body.voidFixture.getMassData(MassData massData) Get the mass data for this fixture.final voidBody.setMassData(MassData massData) Set the mass properties to override the mass properties of the fixtures.