_nukemath.Quaternion

_nukemath :: Quaternion :: Class Quaternion |
[hide private]
[frames] | no frames]

# Class Quaternion

     object --+
              |
    ??.instance --+
                  |
                 Quaternion

Instance Methods | [hide private]
__add__(...) __add__( (Quaternion)arg1, (Quaternion)arg2) -> object : |
__getinitargs__(...) __getinitargs__( (Quaternion)arg1) -> tuple : |
__getitem__(...) __getitem__( (Quaternion)arg1, (int)arg2) -> float : |
__init__(...) __init__( (object)arg1) -> None : |
__len__(...) __len__( (Quaternion)arg1) -> int : |
__mul__(...) __mul__( (Quaternion)arg1, (float)arg2) -> object : |
__pos__(...) __pos__( (Quaternion)arg1) -> Quaternion : |
__reduce__(...) helper for pickle |
__repr__(...) __repr__( (Quaternion)arg1) -> str : |
__setitem__(...) __setitem__( (Quaternion)arg1, (int)arg2, (float)arg3) -> None : |
addInverse(...) addInverse( (Quaternion)arg1) -> Quaternion : |
conjugate(...) conjugate( (Quaternion)arg1) -> Quaternion : |
magnitude(...) magnitude( (Quaternion)arg1) -> float : |
matrix(...) matrix( (Quaternion)arg1) -> Matrix4 : |
multInverse(...) multInverse( (Quaternion)arg1) -> Quaternion : |
set(...) set( (Quaternion)arg1, (float)arg2, (float)arg3, (float)arg4, (float)arg5) -> None : |
slerp(...) slerp( (Quaternion)arg1, (Quaternion)arg2, (float)arg3) -> Quaternion : |
Inherited from `unreachable.instance`: `__new__` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables | [hide private]
| __instance_size__ = `48`
| __safe_for_unpickling__ = `True`

Properties | [hide private]
| s
| vx
| vy
| vz
Inherited from `object`: `__class__`

Method Details | [hide private]

### __add__(...) (Addition operator) |
    __add__( (Quaternion)arg1, (Quaternion)arg2) -> object :

        C++ signature :
            P7_object __add__(N2DD5Image10QuaternionE {lvalue},N2DD5Image10QuaternionE)

### __getinitargs__(...) |
    __getinitargs__( (Quaternion)arg1) -> tuple :

        C++ signature :
            N5boost6python5tupleE __getinitargs__(N2DD5Image10QuaternionE)

### __getitem__(...) (Indexing operator) |
    __getitem__( (Quaternion)arg1, (int)arg2) -> float :

        C++ signature :
            d __getitem__(PN2DD5Image10QuaternionE,i)

### __init__(...) (Constructor) |
    __init__( (object)arg1) -> None :

        C++ signature :
            void __init__(P7_object)

    __init__( (object)arg1, (float)arg2, (float)arg3, (float)arg4, (float)arg5) -> None :

        C++ signature :
            void __init__(P7_object,d,d,d,d)

    __init__( (object)arg1, (float)arg2, (Vector3)arg3) -> None :

        C++ signature :
            void __init__(P7_object,d,N2DD5Image7Vector3E)

    __init__( (object)arg1, (Quaternion)arg2) -> None :

        C++ signature :
            void __init__(P7_object,N2DD5Image10QuaternionE)

    __init__( (object)arg1, (Matrix4)arg2) -> None :

        C++ signature :
            void __init__(P7_object,N2DD5Image7Matrix4E)

    __init__( (object)arg1, (Vector3)arg2, (Vector3)arg3) -> None :

        C++ signature :
            void __init__(P7_object,N2DD5Image7Vector3E,N2DD5Image7Vector3E)
Overrides: object.__init__

### __len__(...) (Length operator) |
    __len__( (Quaternion)arg1) -> int :

        C++ signature :
            i __len__(PN2DD5Image10QuaternionE)

### __mul__(...) |
    __mul__( (Quaternion)arg1, (float)arg2) -> object :

        C++ signature :
            P7_object __mul__(N2DD5Image10QuaternionE {lvalue},d)

    __mul__( (Quaternion)arg1, (Quaternion)arg2) -> object :

        C++ signature :
            P7_object __mul__(N2DD5Image10QuaternionE {lvalue},N2DD5Image10QuaternionE)

### __pos__(...) |
    __pos__( (Quaternion)arg1) -> Quaternion :

        C++ signature :
            N2DD5Image10QuaternionE __pos__(PN2DD5Image10QuaternionE)

### __reduce__(...) |
helper for pickle Overrides: object.__reduce__ (inherited documentation)

### __repr__(...) (Representation operator) |
    __repr__( (Quaternion)arg1) -> str :

        C++ signature :
            N5boost6python3strE __repr__(PN2DD5Image10QuaternionE)
Overrides: object.__repr__

### __setitem__(...) (Index assignment operator) |
    __setitem__( (Quaternion)arg1, (int)arg2, (float)arg3) -> None :

        C++ signature :
            void __setitem__(PN2DD5Image10QuaternionE,i,d)

### addInverse(...) |
    addInverse( (Quaternion)arg1) -> Quaternion :

        C++ signature :
            N2DD5Image10QuaternionE addInverse(N2DD5Image10QuaternionE {lvalue})

### conjugate(...) |
    conjugate( (Quaternion)arg1) -> Quaternion :

        C++ signature :
            N2DD5Image10QuaternionE conjugate(N2DD5Image10QuaternionE {lvalue})

### magnitude(...) |
    magnitude( (Quaternion)arg1) -> float :

        C++ signature :
            d magnitude(N2DD5Image10QuaternionE {lvalue})

### matrix(...) |
    matrix( (Quaternion)arg1) -> Matrix4 :

        C++ signature :
            N2DD5Image7Matrix4E matrix(N2DD5Image10QuaternionE {lvalue})

### multInverse(...) |
    multInverse( (Quaternion)arg1) -> Quaternion :

        C++ signature :
            N2DD5Image10QuaternionE multInverse(N2DD5Image10QuaternionE {lvalue})

### set(...) |
    set( (Quaternion)arg1, (float)arg2, (float)arg3, (float)arg4, (float)arg5) -> None :

        C++ signature :
            void set(N2DD5Image10QuaternionE {lvalue},d,d,d,d)

### slerp(...) |
    slerp( (Quaternion)arg1, (Quaternion)arg2, (float)arg3) -> Quaternion :

        C++ signature :
            N2DD5Image10QuaternionE slerp(N2DD5Image10QuaternionE {lvalue},N2DD5Image10QuaternionE,d)

Property Details | [hide private]

### s Get Method: unreachable(...) Set Method: unreachable(...)

### vx Get Method: unreachable(...) Set Method: unreachable(...)

### vy Get Method: unreachable(...) Set Method: unreachable(...)

### vz Get Method: unreachable(...) Set Method: unreachable(...)