Skip to content

Vectors

BaseVector

Base Vector Array.

Warning

This is a base vector object that only should be inherited by other vector objects. This should never be instantiated for any reason.

magnitude

magnitude() -> float

Calculate the magnitude of this vector.

RETURNS DESCRIPTION
float

The magnitude of this vector.

BaseVector2

Bases: BaseVector

Base 2D Vector Array.

Warning

This is a base 2D vector object that only should be inherited by other 2D vector objects. This should never be instantiated for any reason.

magnitude

magnitude() -> float

Calculate the magnitude of this vector.

RETURNS DESCRIPTION
float

The magnitude of this vector.

BaseVector3

Bases: BaseVector

Base 3D Vector Array.

Warning

This is a base 3D vector object that only should be inherited by other 3D vector objects. This should never be instantiated for any reason.

magnitude

magnitude() -> float

Calculate the magnitude of this vector.

RETURNS DESCRIPTION
float

The magnitude of this vector.