FBVertex Class Reference


Detailed Description

Vertex class.

Similar in use to FBVector4d

    # Supported list protocol methods:
    v = FBVertex()
    len(v)
    print v[0]
    v[0] = 1.0
Warning:
Slicing is not supported by this object.

List of all members.

Public Member Functions

 FBVertex ()
 FBVertex (FBVertex)
int __len__ ()
 Returns the number of elements.
float __getitem__ (int pIndex)
 Returns the ith component Corresponds to python: print v[1].
 __setitem__ (int pIndex, float pComponentValue)
 Sets the ith components Corresponds to python: v[1] = 0.5.

Constructor & Destructor Documentation

FBVertex ( )

Member Function Documentation

int __len__ ( )

Returns the number of elements.

Corresponds to python: len(object)

float __getitem__ ( int  pIndex)

Returns the ith component Corresponds to python: print v[1].

Parameters:
pIndexIndex of the components to get (0 to 1)
Returns:
Color component value.
__setitem__ ( int  pIndex,
float  pComponentValue 
)

Sets the ith components Corresponds to python: v[1] = 0.5.

Parameters:
pIndexIndex of the components to set (0 to 1)
pComponentValueValue of component to set

FBVertex FBVertex FBVertex FBVertex FBVertex FBVertex FBVertex FBVertex FBVertex FBVertex
FBVertex FBVertex FBVertex FBVertex FBVertex FBVertex FBVertex FBVertex FBVertex FBVertex