Package pybox2d :: Module Box2D :: Class b2MassData
[hide private]
[frames] | no frames]

type b2MassData

source code


This holds the mass data computed for a shape.

Instance Methods [hide private]
 
__repr__(self) source code
 
__getstate__(self, additional_ignore=[])
Returns a dictionary representation of self, with dict(var=value [, ...])
source code
 
__setstate__(self, dict)
Takes each variable=value pair in the dictionary and sets the attributes based on them
source code
b2MassData
__init__(self) source code
 
__swig_destroy__(...)
delete_b2MassData(b2MassData self)
Properties [hide private]
  thisown
The membership flag
  mass
b2MassData_mass_get(b2MassData self) -> float32
  center
b2MassData_center_get(b2MassData self) -> b2Vec2
  I
b2MassData_I_get(b2MassData self) -> float32
Method Details [hide private]

__repr__(self)
(Representation operator)

source code 
Overrides: object.__repr__
(inherited documentation)

__getstate__(self, additional_ignore=[])

source code 

Returns a dictionary representation of self, with 
 dict(var=value [, ...])

additional_ignore can be specified to ignore certain
properties. 

__init__(self)
(Constructor)

source code 
Returns: b2MassData
Overrides: object.__init__

Property Details [hide private]

thisown

The membership flag

mass

b2MassData_mass_get(b2MassData self) -> float32

center

b2MassData_center_get(b2MassData self) -> b2Vec2

I

b2MassData_I_get(b2MassData self) -> float32