LPoint4f¶
from acron.core import LPoint4f
- class LPoint4f¶
Bases:
Bases:
LVecBase4fThis is a four-component point in space.
Inheritance diagram
digraph inheritance38526c8d3a { 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=""]; "LPoint4f" [URL="acron.core.LPoint4f.html#acron.core.LPoint4f",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "LVecBase4f" -> "LPoint4f" [arrowsize=0.75,style=""]; "LVecBase4f" [URL="acron.core.LVecBase4f.html#acron.core.LVecBase4f",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" -> "LVecBase4f" [arrowsize=0.75,style=""]; }- __add__()¶
- __div__()¶
- __getattr__()¶
- __init__()¶
- __mul__()¶
- __repr__()¶
- __rmul__()¶
- __setattr__()¶
- __sub__()¶
- __sub__()¶
- static get_class_type()¶
- get_xy()¶
Returns the x and y component of this vector
- get_xyz()¶
Returns the x, y and z component of this vector
- 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.
- 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 unit_w()¶
Returns a unit W point.
- static unit_x()¶
Returns a unit X point.
- static unit_y()¶
Returns a unit Y point.
- static unit_z()¶
Returns a unit Z point.
- static zero()¶
Returns a zero-length point.