LVector4d

class LVector4d

Bases: LVecBase4d

This is a four-component vector distance.

Inheritance diagram

digraph inheritance02ef595c67 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "LVecBase4d" [URL="acron.core.LVecBase4d.html#acron.core.LVecBase4d",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "LVecBase4d" [arrowsize=0.75,style=""]; "LVector4d" [URL="acron.core.LVector4d.html#acron.core.LVector4d",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "LVecBase4d" -> "LVector4d" [arrowsize=0.75,style=""]; }
LVector4d.__add__()
LVector4d.__div__()
LVector4d.__getattr__()
LVector4d.__init__()
LVector4d.__mul__()
LVector4d.__repr__()
LVector4d.__rmul__()
LVector4d.__setattr__()
LVector4d.__sub__()
LVector4d.__sub__()
static LVector4d.get_class_type()
LVector4d.get_xy()

Returns the x and y component of this vector

LVector4d.get_xyz()

Returns the x, y and z component of this vector

LVector4d.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.

LVector4d.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 LVector4d.unit_w()

Returns a unit W vector.

static LVector4d.unit_x()

Returns a unit X vector.

static LVector4d.unit_y()

Returns a unit Y vector.

static LVector4d.unit_z()

Returns a unit Z vector.

static LVector4d.zero()

Returns a zero-length vector.