LPoint3i

class LPoint3i

Bases: LVecBase3i

This is a three-component point in space (as opposed to a three-component vector, which represents a direction and a distance). Some of the methods are slightly different between LPoint3 and LVector3; in particular, subtraction of two points yields a vector, while addition of a vector and a point yields a point.

Inheritance diagram

digraph inheritance180c3ad36e { 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=""]; "LPoint3i" [URL="acron.core.LPoint3i.html#acron.core.LPoint3i",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "LVecBase3i" -> "LPoint3i" [arrowsize=0.75,style=""]; "LVecBase3i" [URL="acron.core.LVecBase3i.html#acron.core.LVecBase3i",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" -> "LVecBase3i" [arrowsize=0.75,style=""]; }
LPoint3i.__add__()
LPoint3i.__div__()
LPoint3i.__getattr__()
LPoint3i.__init__()
LPoint3i.__mul__()
LPoint3i.__repr__()
LPoint3i.__rmul__()
LPoint3i.__setattr__()
LPoint3i.__sub__()
LPoint3i.__sub__()
LPoint3i.cross()
static LPoint3i.get_class_type()
LPoint3i.get_xy()

Returns a 2-component vector that shares just the first two components of this vector.

LPoint3i.get_xz()

Returns a 2-component vector that shares just the first and last components of this vector.

LPoint3i.get_yz()

Returns a 2-component vector that shares just the last two components of this vector.

static LPoint3i.origin()

Returns the origin of the indicated coordinate system. This is always 0, 0, 0 with all of our existing coordinate systems; it’s hard to imagine it ever being different.

static LPoint3i.rfu()

Returns a point described by right, forward, up displacements from the origin, wherever that maps to in the given coordinate system.

static LPoint3i.unit_x()

Returns a unit X point.

static LPoint3i.unit_y()

Returns a unit Y point.

static LPoint3i.unit_z()

Returns a unit Z point.

static LPoint3i.zero()

Returns a zero-length point.