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

type b2ContactEdge

source code


A contact edge is used to connect bodies and contacts together in a contact graph where each body is a node and each contact is an edge. A contact edge belongs to a doubly linked list maintained in each attached body. Each contact has two contact nodes, one for each attached body.

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
b2ContactEdge
__init__(self) source code
 
__swig_destroy__(...)
delete_b2ContactEdge(b2ContactEdge self)
Properties [hide private]
  thisown
The membership flag
  other
b2ContactEdge_other_get(b2ContactEdge self) -> b2Body
  contact
b2ContactEdge_contact_get(b2ContactEdge self) -> b2Contact
  prev
b2ContactEdge_prev_get(b2ContactEdge self) -> b2ContactEdge
  next
b2ContactEdge_next_get(b2ContactEdge self) -> b2ContactEdge
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: b2ContactEdge
Overrides: object.__init__

Property Details [hide private]

thisown

The membership flag

other

b2ContactEdge_other_get(b2ContactEdge self) -> b2Body

contact

b2ContactEdge_contact_get(b2ContactEdge self) -> b2Contact

prev

b2ContactEdge_prev_get(b2ContactEdge self) -> b2ContactEdge

next

b2ContactEdge_next_get(b2ContactEdge self) -> b2ContactEdge