Module _curvelib :: Class CVec4
[hide private]
[frames] | no frames]

Class CVec4

object --+
         |
        CVec4

A 4-component vector.

Instance Methods [hide private]
 
__add__(x, y)
x+y
 
__delattr__(...)
x.__delattr__('name') <==> del x.name
 
__delitem__(x, y)
del x[y]
 
__div__(x, y)
x/y
 
__eq__(x, y)
x==y
 
__ge__(x, y)
x>=y
 
__getattribute__(...)
x.__getattribute__('name') <==> x.name
 
__getitem__(x, y)
x[y]
 
__gt__(x, y)
x>y
 
__iadd__(x, y)
x+y
 
__isub__(x, y)
x-y
 
__le__(x, y)
x<=y
 
__len__(x)
len(x)
 
__lt__(x, y)
x<y
 
__mul__(x, y)
x*y
 
__ne__(x, y)
x!=y
 
__neg__(x)
-x
a new object with type S, a subtype of T
__new__(T, S, ...)
 
__radd__(x, y)
y+x
 
__rdiv__(x, y)
y/x
 
__repr__(x)
repr(x)
 
__rmul__(x, y)
y*x
 
__rsub__(x, y)
y-x
 
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
 
__setitem__(x, i, y)
x[i]=y
 
__sub__(x, y)
x-y

Inherited from object: __format__, __hash__, __init__, __reduce__, __reduce_ex__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  w
The w coordinate.
  x
The x coordinate.
  y
The y coordinate.
  z
The z coordinate.

Inherited from object: __class__

Method Details [hide private]

__delattr__(...)

 

x.__delattr__('name') <==> del x.name

Overrides: object.__delattr__

__getattribute__(...)

 

x.__getattribute__('name') <==> x.name

Overrides: object.__getattribute__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

__repr__(x)
(Representation operator)

 

repr(x)

Overrides: object.__repr__

__setattr__(...)

 

x.__setattr__('name', value) <==> x.name = value

Overrides: object.__setattr__