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

type b2JointDef

source code

Known Subclasses:

Joint definitions are used to construct joints.

Instance Methods [hide private]
b2JointDef
__init__(self)
Joint definitions are used to construct joints.
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
 
__del__(self) source code
 
typeName(self)
Return the name of the joint from:...
source code
 
__swig_destroy__(...)
delete_b2JointDef(b2JointDef self)
 
GetUserData(...)
b2JointDef_GetUserData(b2JointDef self) -> PyObject
source code
 
SetUserData(...)
b2JointDef_SetUserData(b2JointDef self, PyObject data)
source code
 
ClearUserData(...)
b2JointDef_ClearUserData(b2JointDef self)
source code
Properties [hide private]
  thisown
The membership flag
  type
b2JointDef_type_get(b2JointDef self) -> b2JointType
  body1
b2JointDef_body1_get(b2JointDef self) -> b2Body
  body2
b2JointDef_body2_get(b2JointDef self) -> b2Body
  collideConnected
b2JointDef_collideConnected_get(b2JointDef self) -> bool
  userData
GetUserData(self) -> PyObject
Method Details [hide private]

__init__(self)
(Constructor)

source code 

Joint definitions are used to construct joints.

Returns: b2JointDef
Overrides: object.__init__

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

typeName(self)

source code 

Return the name of the joint from:
 Unknown, Mouse, Gear, Distance, Prismatic, Pulley, Revolute


Property Details [hide private]

thisown

The membership flag

type

b2JointDef_type_get(b2JointDef self) -> b2JointType

body1

b2JointDef_body1_get(b2JointDef self) -> b2Body

body2

b2JointDef_body2_get(b2JointDef self) -> b2Body

collideConnected

b2JointDef_collideConnected_get(b2JointDef self) -> bool

userData

GetUserData(self) -> PyObject