FBVector2d Class Reference

#include <mainpage.h>

Class Description

Vector2d class. This class creates a list like object, which can be modified using the list protocol method. But unlike lists, its length is fixed: it always contain 2 floating point values. Thus it does not support the any list methods that would affect its length. The values within can be changed, usually via the bracket operator.

# Supported list protocol methods:
vec = FBVector2d()
len(vec)
print vec[0]
vec[0] = 1.0
Warning
Slicing is not supported by this object.
+ Inheritance diagram for FBVector2d:

Public Member Functions

 __reduce__ ()
 
 __init__ (...)
 
int __len__ (FBVector2d arg1)
 
float __getitem__ (FBVector2d arg1, object arg2)
 
 __setitem__ (FBVector2d arg1, object arg2, object arg3)
 
str __repr__ (FBVector2d arg1)
 
object __str__ (FBVector2d arg1)
 
 __add__ (...)
 
 __sub__ (...)
 
 __mul__ (...)
 
 __div__ (...)
 
 __iadd__ (...)
 
 __isub__ (...)
 
 __imul__ (...)
 
 __idiv__ (...)
 
object __neg__ (FBVector2d arg1)
 
 CopyFrom (...)
 
bool NotEqual (FBVector2d arg1, FBVector2d arg2)
 
bool IsEqual (FBVector2d arg1, FBVector2d arg2)
 
int GetBufferAddress (FBVector2d arg1)
 
list GetList (FBVector2d arg1)
 

Member Function Documentation

__add__ (   ...)

Python Docstring:

__add__( (FBVector2d)arg1, (FBVector2d)arg2) -> object

__add__( (FBVector2d)arg1, (object)arg2) -> object 
__div__ (   ...)

Python Docstring:

__div__( (FBVector2d)arg1, (FBVector2d)arg2) -> object

__div__( (FBVector2d)arg1, (object)arg2) -> object 
float __getitem__ ( FBVector2d  arg1,
object  arg2 
)

Python Docstring:

__getitem__( (FBVector2d)arg1, (object)arg2) -> float 
__iadd__ (   ...)

Python Docstring:

__iadd__( (object)arg1, (FBVector2d)arg2) -> object

__iadd__( (object)arg1, (object)arg2) -> object 
__idiv__ (   ...)

Python Docstring:

__idiv__( (object)arg1, (FBVector2d)arg2) -> object

__idiv__( (object)arg1, (object)arg2) -> object 
__imul__ (   ...)

Python Docstring:

__imul__( (object)arg1, (FBVector2d)arg2) -> object

__imul__( (object)arg1, (object)arg2) -> object 
__init__ (   ...)

Python Docstring:

__init__( (object)arg1) -> None

__init__( (object)arg1, (FBVector2d)arg2) -> None

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

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

__init__( (object)arg1, (list)arg2) -> None 
__isub__ (   ...)

Python Docstring:

__isub__( (object)arg1, (FBVector2d)arg2) -> object

__isub__( (object)arg1, (object)arg2) -> object 
int __len__ ( FBVector2d  arg1)

Python Docstring:

__len__( (FBVector2d)arg1) -> int 
__mul__ (   ...)

Python Docstring:

__mul__( (FBVector2d)arg1, (FBVector2d)arg2) -> object

__mul__( (FBVector2d)arg1, (object)arg2) -> object 
object __neg__ ( FBVector2d  arg1)

Python Docstring:

__neg__( (FBVector2d)arg1) -> object 
__reduce__ ( )
str __repr__ ( FBVector2d  arg1)

Python Docstring:

__repr__( (FBVector2d)arg1) -> str 
__setitem__ ( FBVector2d  arg1,
object  arg2,
object  arg3 
)

Python Docstring:

__setitem__( (FBVector2d)arg1, (object)arg2, (object)arg3) -> None 
object __str__ ( FBVector2d  arg1)

Python Docstring:

__str__( (FBVector2d)arg1) -> object 
__sub__ (   ...)

Python Docstring:

__sub__( (FBVector2d)arg1, (FBVector2d)arg2) -> object

__sub__( (FBVector2d)arg1, (object)arg2) -> object 
CopyFrom (   ...)

Python Docstring:

CopyFrom( (FBVector2d)arg1, (FBVector2d)arg2) -> FBVector2d

CopyFrom( (FBVector2d)arg1, (list)arg2) -> FBVector2d 
int GetBufferAddress ( FBVector2d  arg1)

Python Docstring:

GetBufferAddress( (FBVector2d)arg1) -> int 
list GetList ( FBVector2d  arg1)

Python Docstring:

GetList( (FBVector2d)arg1) -> list 
bool IsEqual ( FBVector2d  arg1,
FBVector2d  arg2 
)

Python Docstring:

IsEqual( (FBVector2d)arg1, (FBVector2d)arg2) -> bool 
bool NotEqual ( FBVector2d  arg1,
FBVector2d  arg2 
)

Python Docstring:

NotEqual( (FBVector2d)arg1, (FBVector2d)arg2) -> bool