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

# type b2ContactPoint

source code

This structure is used to report contact points.

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
b2ContactPoint |
__init__(self) | source code
__swig_destroy__(...) delete_b2ContactPoint(b2ContactPoint self) |

Properties | [hide private]
| thisown The membership flag
| shape1 b2ContactPoint_shape1_get(b2ContactPoint self) -> b2Shape
| shape2 b2ContactPoint_shape2_get(b2ContactPoint self) -> b2Shape
| position b2ContactPoint_position_get(b2ContactPoint self) -> b2Vec2
| velocity b2ContactPoint_velocity_get(b2ContactPoint self) -> b2Vec2
| normal b2ContactPoint_normal_get(b2ContactPoint self) -> b2Vec2
| separation b2ContactPoint_separation_get(b2ContactPoint self) -> float32
| friction b2ContactPoint_friction_get(b2ContactPoint self) -> float32
| restitution b2ContactPoint_restitution_get(b2ContactPoint self) -> float32
| id b2ContactPoint_id_get(b2ContactPoint 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: b2ContactPoint Overrides: object.__init__

Property Details | [hide private]

### thisown The membership flag

### shape1 b2ContactPoint_shape1_get(b2ContactPoint self) -> b2Shape

### shape2 b2ContactPoint_shape2_get(b2ContactPoint self) -> b2Shape

### position b2ContactPoint_position_get(b2ContactPoint self) -> b2Vec2

### velocity b2ContactPoint_velocity_get(b2ContactPoint self) -> b2Vec2

### normal b2ContactPoint_normal_get(b2ContactPoint self) -> b2Vec2

### separation b2ContactPoint_separation_get(b2ContactPoint self) -> float32

### friction b2ContactPoint_friction_get(b2ContactPoint self) -> float32

### restitution b2ContactPoint_restitution_get(b2ContactPoint self) -> float32

### id b2ContactPoint_id_get(b2ContactPoint self) -> b2ContactID