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

# type b2ContactResult

source code

This structure is used to report contact point results.

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

Properties | [hide private]
| thisown The membership flag
| shape1 b2ContactResult_shape1_get(b2ContactResult self) -> b2Shape
| shape2 b2ContactResult_shape2_get(b2ContactResult self) -> b2Shape
| position b2ContactResult_position_get(b2ContactResult self) -> b2Vec2
| normal b2ContactResult_normal_get(b2ContactResult self) -> b2Vec2
| normalImpulse b2ContactResult_normalImpulse_get(b2ContactResult self) -> float32
| tangentImpulse b2ContactResult_tangentImpulse_get(b2ContactResult self) -> float32
| id b2ContactResult_id_get(b2ContactResult 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: b2ContactResult Overrides: object.__init__

Property Details | [hide private]

### thisown The membership flag

### shape1 b2ContactResult_shape1_get(b2ContactResult self) -> b2Shape

### shape2 b2ContactResult_shape2_get(b2ContactResult self) -> b2Shape

### position b2ContactResult_position_get(b2ContactResult self) -> b2Vec2

### normal b2ContactResult_normal_get(b2ContactResult self) -> b2Vec2

### normalImpulse b2ContactResult_normalImpulse_get(b2ContactResult self) -> float32

### tangentImpulse b2ContactResult_tangentImpulse_get(b2ContactResult self) -> float32

### id b2ContactResult_id_get(b2ContactResult self) -> b2ContactID