LPoint3i

from acron.core import LPoint3i
class LPoint3i

Bases:

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=""]; }
__add__()
__div__()
__getattr__()
__init__()
__mul__()
__repr__()
__rmul__()
__setattr__()
__sub__()
__sub__()
cross()
static get_class_type()
get_xy()

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

get_xz()

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

get_yz()

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

static 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 rfu()

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

static unit_x()

Returns a unit X point.

static unit_y()

Returns a unit Y point.

static unit_z()

Returns a unit Z point.

property xy → LPoint2i

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

property xz → LPoint2i

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

property yz → LPoint2i

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

static zero()

Returns a zero-length point.