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

# type b2Vec3

source code

A 2D column vector with 3 elements.

Instance Methods | [hide private]
b2Vec3 |
__init__(self) __init__(self, float32 x, float32 y, float32 z) -> b2Vec3 | 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
__swig_destroy__(...) delete_b2Vec3(b2Vec3 self) |
SetZero(...) b2Vec3_SetZero(b2Vec3 self) | source code
Set(...) b2Vec3_Set(b2Vec3 self, float32 x_, float32 y_, float32 z_) | source code
__neg__(...) b2Vec3___neg__(b2Vec3 self) -> b2Vec3 | source code
__iadd__(...) b2Vec3___iadd__(b2Vec3 self, b2Vec3 v) | source code
__isub__(...) b2Vec3___isub__(b2Vec3 self, b2Vec3 v) | source code
__imul__(...) b2Vec3___imul__(b2Vec3 self, float32 s) | source code

Properties | [hide private]
| thisown The membership flag
| x b2Vec3_x_get(b2Vec3 self) -> float32
| y b2Vec3_y_get(b2Vec3 self) -> float32
| z b2Vec3_z_get(b2Vec3 self) -> float32

Method Details | [hide private]

### __init__(self) (Constructor) | source code
__init__(self, float32 x, float32 y, float32 z) -> b2Vec3 Construct using coordinates. Returns: b2Vec3 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.

### SetZero(...) | source code
b2Vec3_SetZero(b2Vec3 self) Set this vector to all zeros.

### Set(...) | source code
b2Vec3_Set(b2Vec3 self, float32 x_, float32 y_, float32 z_) Set this vector to some specified coordinates.

Property Details | [hide private]

### thisown The membership flag

### x b2Vec3_x_get(b2Vec3 self) -> float32

### y b2Vec3_y_get(b2Vec3 self) -> float32

### z b2Vec3_z_get(b2Vec3 self) -> float32