LPoint4f

class LPoint4f

Bases: LVecBase4f

This is a four-component point in space.

Inheritance diagram

Inheritance diagram of LPoint4f

LPoint4f.__add__()
LPoint4f.__div__()
LPoint4f.__getattr__()
LPoint4f.__init__()
LPoint4f.__mul__()
LPoint4f.__repr__()
LPoint4f.__rmul__()
LPoint4f.__setattr__()
LPoint4f.__sub__()
LPoint4f.__sub__()
static LPoint4f.get_class_type()
LPoint4f.get_xy()

Returns the x and y component of this vector

LPoint4f.get_xyz()

Returns the x, y and z component of this vector

LPoint4f.normalized()

Normalizes the vector and returns the normalized vector as a copy. If the vector was a zero-length vector, a zero length vector will be returned.

LPoint4f.project()

Returns a new vector representing the projection of this vector onto another one. The resulting vector will be a scalar multiple of onto.

static LPoint4f.unit_w()

Returns a unit W point.

static LPoint4f.unit_x()

Returns a unit X point.

static LPoint4f.unit_y()

Returns a unit Y point.

static LPoint4f.unit_z()

Returns a unit Z point.

static LPoint4f.zero()

Returns a zero-length point.