This reference page is linked to from the following overview topics: FBScene - The Scene Class, Optical devices, FBModel - Transformation Data and the Scene Graph, FBProperty - Object Properties, FBMaterial and FBTexture - Materials and Textures, FBLight - Lights, Adjusting the Extraction, FBCamera - Cameras, FBCharacter - Characters, FBPose - Poses, Rigid Body Physics, Joint Chains.
#include <mainpage.h>
Vector3d 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 3 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 = FBVector3d()
len(vec)
print vec[0]
vec[0] = 1.0
Public Member Functions |
|
def | __reduce__ () |
def | __init__ () |
def | __len__ () |
def | __getitem__ () |
def | __setitem__ () |
def | __repr__ () |
def | __str__ () |
def | __eq__ () |
def | __ne__ () |
def | __add__ () |
def | __sub__ () |
def | __mul__ () |
def | __div__ () |
def | __iadd__ () |
def | __isub__ () |
def | __imul__ () |
def | __idiv__ () |
def | __neg__ () |
def | CopyFrom () |
def | NotEqual () |
def | IsEqual () |
def | Length () |
def | SquareLength () |
def | Distance () |
def | Normalize () |
def | DotProduct () |
def | CrossProduct () |
def | GetBufferAddress () |
def | GetList () |
def __reduce__ | ( | ) |
def __init__ | ( | ) |
Python Docstring:
__init__( (object)arg1) -> None __init__( (object)arg1, (FBVector3d)arg2) -> None __init__( (object)arg1, (object)arg2, (object)arg3, (object)arg4) -> None __init__( (object)arg1, (object)arg2) -> None __init__( (object)arg1, (list)arg2) -> None
def __len__ | ( | ) |
def __getitem__ | ( | ) |
def __setitem__ | ( | ) |
Python Docstring:
__setitem__( (FBVector3d)arg1, (object)arg2, (object)arg3) -> None
def __repr__ | ( | ) |
def __str__ | ( | ) |
def __eq__ | ( | ) |
def __ne__ | ( | ) |
def __add__ | ( | ) |
Python Docstring:
__add__( (FBVector3d)arg1, (FBVector3d)arg2) -> object __add__( (FBVector3d)arg1, (object)arg2) -> object
def __sub__ | ( | ) |
Python Docstring:
__sub__( (FBVector3d)arg1, (FBVector3d)arg2) -> object __sub__( (FBVector3d)arg1, (object)arg2) -> object
def __mul__ | ( | ) |
Python Docstring:
__mul__( (FBVector3d)arg1, (FBVector3d)arg2) -> object __mul__( (FBVector3d)arg1, (object)arg2) -> object
def __div__ | ( | ) |
Python Docstring:
__div__( (FBVector3d)arg1, (FBVector3d)arg2) -> object __div__( (FBVector3d)arg1, (object)arg2) -> object
def __iadd__ | ( | ) |
Python Docstring:
__iadd__( (object)arg1, (FBVector3d)arg2) -> object __iadd__( (object)arg1, (object)arg2) -> object
def __isub__ | ( | ) |
Python Docstring:
__isub__( (object)arg1, (FBVector3d)arg2) -> object __isub__( (object)arg1, (object)arg2) -> object
def __imul__ | ( | ) |
Python Docstring:
__imul__( (object)arg1, (FBVector3d)arg2) -> object __imul__( (object)arg1, (object)arg2) -> object
def __idiv__ | ( | ) |
Python Docstring:
__idiv__( (object)arg1, (FBVector3d)arg2) -> object __idiv__( (object)arg1, (object)arg2) -> object
def __neg__ | ( | ) |
def CopyFrom | ( | ) |
Python Docstring:
CopyFrom( (FBVector3d)arg1, (FBVector3d)arg2) -> FBVector3d CopyFrom( (FBVector3d)arg1, (list)arg2) -> FBVector3d
def NotEqual | ( | ) |
def IsEqual | ( | ) |
def Length | ( | ) |
def SquareLength | ( | ) |
def Distance | ( | ) |
def Normalize | ( | ) |
def DotProduct | ( | ) |
Python Docstring:
DotProduct( (FBVector3d)arg1, (FBVector3d)arg2) -> float
def CrossProduct | ( | ) |
Python Docstring:
CrossProduct( (FBVector3d)arg1, (FBVector3d)arg2) -> FBVector3d
def GetBufferAddress | ( | ) |
def GetList | ( | ) |