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

type b2ManifoldPoint

source code


A manifold point is a contact point belonging to a contact manifold. It holds details related to the geometry and dynamics of the contact points. The point is stored in local coordinates because CCD requires sub-stepping in which the separation is stale.

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
b2ManifoldPoint
__init__(self) source code
 
__swig_destroy__(...)
delete_b2ManifoldPoint(b2ManifoldPoint self)
Properties [hide private]
  thisown
The membership flag
  localPoint1
b2ManifoldPoint_localPoint1_get(b2ManifoldPoint self) -> b2Vec2
  localPoint2
b2ManifoldPoint_localPoint2_get(b2ManifoldPoint self) -> b2Vec2
  separation
b2ManifoldPoint_separation_get(b2ManifoldPoint self) -> float32
  normalImpulse
b2ManifoldPoint_normalImpulse_get(b2ManifoldPoint self) -> float32
  tangentImpulse
b2ManifoldPoint_tangentImpulse_get(b2ManifoldPoint self) -> float32
  id
b2ManifoldPoint_id_get(b2ManifoldPoint self) -> b2ContactID
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: b2ManifoldPoint
Overrides: object.__init__

Property Details [hide private]

thisown

The membership flag

localPoint1

b2ManifoldPoint_localPoint1_get(b2ManifoldPoint self) -> b2Vec2

localPoint2

b2ManifoldPoint_localPoint2_get(b2ManifoldPoint self) -> b2Vec2

separation

b2ManifoldPoint_separation_get(b2ManifoldPoint self) -> float32

normalImpulse

b2ManifoldPoint_normalImpulse_get(b2ManifoldPoint self) -> float32

tangentImpulse

b2ManifoldPoint_tangentImpulse_get(b2ManifoldPoint self) -> float32

id

b2ManifoldPoint_id_get(b2ManifoldPoint self) -> b2ContactID