# Class MassData

java.lang.Object
com.codename1.gaming.physics.box2d.collision.shapes.MassData

public class MassData extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final Vec2`
  `center`
  `float`
  `I`
  `float`
  `mass`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MassData()`
  `MassData(MassData md)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `MassData`
  `clone()`
  `void`
  `set(MassData md)`

  ### Methods inherited from class Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### mass

    public float mass

  - ### center

    public final Vec2 center

  - ### I

    public float I

- ## Constructor Details

  - ### MassData

    public MassData()

  - ### MassData

    public MassData(MassData md)

- ## Method Details

  - ### set

    public void set(MassData md)

  - ### clone

    public MassData clone()
    Overrides:
      `clone` in class `Object`