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

type b2CircleDef

source code


This structure is used to build circle shapes.

Instance Methods [hide private]
b2CircleDef
__init__(self)
This structure is used to build circle shapes.
source code
 
__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
 
__swig_destroy__(...)
delete_b2CircleDef(b2CircleDef self)
    Inherited from b2ShapeDef
 
ClearUserData(...)
b2ShapeDef_ClearUserData(b2ShapeDef self)
source code
 
GetUserData(...)
b2ShapeDef_GetUserData(b2ShapeDef self) -> PyObject
source code
 
SetUserData(...)
b2ShapeDef_SetUserData(b2ShapeDef self, PyObject data)
source code
 
__del__(self) source code
Properties [hide private]
  thisown
The membership flag
  localPosition
b2CircleDef_localPosition_get(b2CircleDef self) -> b2Vec2
  radius
b2CircleDef_radius_get(b2CircleDef self) -> float32
    Inherited from b2ShapeDef
  density
b2ShapeDef_density_get(b2ShapeDef self) -> float32
  filter
b2ShapeDef_filter_get(b2ShapeDef self) -> b2FilterData
  friction
b2ShapeDef_friction_get(b2ShapeDef self) -> float32
  isSensor
b2ShapeDef_isSensor_get(b2ShapeDef self) -> bool
  restitution
b2ShapeDef_restitution_get(b2ShapeDef self) -> float32
  type
b2ShapeDef_type_get(b2ShapeDef self) -> b2ShapeType
  userData
GetUserData(self) -> PyObject
Method Details [hide private]

__init__(self)
(Constructor)

source code 

This structure is used to build circle shapes.

Returns: b2CircleDef
Overrides: b2ShapeDef.__init__

__repr__(self)
(Representation operator)

source code 
Overrides: b2ShapeDef.__repr__

__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. 

Overrides: _generic_getstate

__setstate__(self, dict)

source code 

Takes each variable=value pair in the dictionary and sets the attributes based on them

Overrides: _generic_setstate

__swig_destroy__(...)

 

delete_b2CircleDef(b2CircleDef self)

Overrides: b2ShapeDef.__swig_destroy__

Property Details [hide private]

thisown

The membership flag

localPosition

b2CircleDef_localPosition_get(b2CircleDef self) -> b2Vec2

radius

b2CircleDef_radius_get(b2CircleDef self) -> float32