Panda3D
|
This is a four-component point in space. More...
#include "lpoint4.h"
Public Member Functions | |
LPoint4d (const LVecBase4d ©) | |
LPoint4d (double fill_value) | |
LPoint4d (double x, double y, double z, double w) | |
LPoint4d | operator* (double scalar) const |
LVecBase4d | operator+ (const LVecBase4d &other) const |
LPoint4d | operator+ (const LVector4d &other) const |
LPoint4d | operator- () const |
LVecBase4d | operator- (const LVecBase4d &other) const |
LVector4d | operator- (const LPoint4d &other) const |
LPoint4d | operator- (const LVector4d &other) const |
LPoint4d | operator/ (double scalar) const |
LPoint4d & | operator= (const LVecBase4d ©) |
LPoint4d & | operator= (double fill_value) |
LPoint4d | project (const LVecBase4d &onto) const |
Returns a new vector representing the projection of this vector onto another one. | |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
static const LPoint4d & | unit_w () |
Returns a unit W point. | |
static const LPoint4d & | unit_x () |
Returns a unit X point. | |
static const LPoint4d & | unit_y () |
Returns a unit Y point. | |
static const LPoint4d & | unit_z () |
Returns a unit Z point. | |
static const LPoint4d & | zero () |
Returns a zero-length point. |
LPoint4d LPoint4d::project | ( | const LVecBase4d & | onto | ) | const [inline] |
Returns a new vector representing the projection of this vector onto another one.
The resulting vector will be a scalar multiple of onto.
Reimplemented from LVecBase4d.
const LPoint4d & LPoint4d::unit_w | ( | ) | [inline, static] |
const LPoint4d & LPoint4d::unit_x | ( | ) | [inline, static] |
const LPoint4d & LPoint4d::unit_y | ( | ) | [inline, static] |
const LPoint4d & LPoint4d::unit_z | ( | ) | [inline, static] |
const LPoint4d & LPoint4d::zero | ( | ) | [inline, static] |
Returns a zero-length point.
Reimplemented from LVecBase4d.