# LPoint3i

```from panda3d.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

__div__(scalar: int)
__getattr__(attr_name: str)
__init__()
__init__(param0: LPoint3i)
__init__(copy: LVecBase2i, z: int)
__init__(copy: LVecBase3i)
__init__(fill_value: int)
__init__(x: int, y: int, z: int)
__mul__(scalar: int)
__repr__() str
__rmul__(scalar: int)
__setattr__(attr_name: str, assign: object) int
__sub__(other: LPoint3i)
__sub__(other: LVecBase3i)
__sub__(other: LVector3i)
__sub__(other: LPoint3i)
__sub__(other: LVecBase3i)
__sub__(other: LVector3i)
cross(other: LVecBase3i)
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(cs: CoordinateSystem)

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(right: int, fwd: int, up: int, cs: CoordinateSystem)

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

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

property xz

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

property yz

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

static zero()

Returns a zero-length point.