LPoint4f

from panda3d.core import LPoint4f
class LPoint4f

Bases:

Bases: LVecBase4f

This is a four-component point in space.

Inheritance diagram

Inheritance diagram of LPoint4f

__add__(other: LVecBase4f) → LVecBase4f
__add__(other: LVector4f) → LPoint4f
__div__(scalar: float) → LPoint4f
__getattr__(attr_name: str) → object
__init__()
__init__(param0: LPoint4f)
__init__(copy: LVecBase3f, w: float)
__init__(copy: LVecBase4f)
__init__(fill_value: float)
__init__(x: float, y: float, z: float, w: float)
__mul__(scalar: float) → LPoint4f
__repr__() → str
__setattr__(attr_name: str, assign: object) → int
__sub__(other: LPoint4f) → LVector4f
__sub__(other: LVecBase4f) → LVecBase4f
__sub__(other: LVector4f) → LPoint4f
__sub__(other: LPoint4f) → LVector4f
__sub__(other: LVecBase4f) → LVecBase4f
__sub__(other: LVector4f) → LPoint4f
static getClassType() → TypeHandle
getXy() → LPoint2f

Returns the x and y component of this vector

getXyz() → LPoint3f

Returns the x, y and z component of this vector

normalized() → LPoint4f

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: LVecBase4f) → LPoint4f

Returns a new vector representing the projection of this vector onto another one. The resulting vector will be a scalar multiple of onto.

static unitW() → LPoint4f

Returns a unit W point.

static unitX() → LPoint4f

Returns a unit X point.

static unitY() → LPoint4f

Returns a unit Y point.

static unitZ() → LPoint4f

Returns a unit Z point.

property xy → LPoint2f

Returns the x and y component of this vector

property xyz → LPoint3f

Returns the x, y and z component of this vector

static zero() → LPoint4f

Returns a zero-length point.