LPoint4d

from panda3d.core import LPoint4d
class LPoint4d

Bases:

Bases: LVecBase4d

This is a four-component point in space.

Inheritance diagram

Inheritance diagram of LPoint4d

__add__(other: LVecBase4d) LVecBase4d
__add__(other: LVector4d) LPoint4d
__div__(scalar: float) LPoint4d
__getattr__(attr_name: str) object
__init__()
__init__(param0: LPoint4d)
__init__(copy: LVecBase3d, w: float)
__init__(copy: LVecBase4d)
__init__(fill_value: float)
__init__(x: float, y: float, z: float, w: float)
__mul__(scalar: float) LPoint4d
__repr__() str
__rmul__(scalar: float) LPoint4d
__setattr__(attr_name: str, assign: object) int
__sub__(other: LPoint4d) LVector4d
__sub__(other: LVecBase4d) LVecBase4d
__sub__(other: LVector4d) LPoint4d
__sub__(other: LPoint4d) LVector4d
__sub__(other: LVecBase4d) LVecBase4d
__sub__(other: LVector4d) LPoint4d
static get_class_type() TypeHandle
get_xy() LPoint2d

Returns the x and y component of this vector

get_xyz() LPoint3d

Returns the x, y and z component of this vector

normalized() LPoint4d

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(onto: LVecBase4d) LPoint4d

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() LPoint4d

Returns a unit W point.

static unit_x() LPoint4d

Returns a unit X point.

static unit_y() LPoint4d

Returns a unit Y point.

static unit_z() LPoint4d

Returns a unit Z point.

property xy LPoint2d

Returns the x and y component of this vector

property xyz LPoint3d

Returns the x, y and z component of this vector

static zero() LPoint4d

Returns a zero-length point.