Panda3D
Public Member Functions | Static Public Member Functions

LPoint4d Class Reference

This is a four-component point in space. More...

#include "lpoint4.h"

Inheritance diagram for LPoint4d:
LVecBase4d

List of all members.

Public Member Functions

 LPoint4d (const LVecBase4d &copy)
 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
LVector4d operator- (const LPoint4d &other) const
LVecBase4d operator- (const LVecBase4d &other) const
LPoint4d operator- () const
LPoint4d operator- (const LVector4d &other) const
LPoint4d operator/ (double scalar) const
LPoint4doperator= (double fill_value)
LPoint4doperator= (const LVecBase4d &copy)
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 LPoint4dunit_w ()
 Returns a unit W point.
static const LPoint4dunit_x ()
 Returns a unit X point.
static const LPoint4dunit_y ()
 Returns a unit Y point.
static const LPoint4dunit_z ()
 Returns a unit Z point.
static const LPoint4dzero ()
 Returns a zero-length point.

Detailed Description

This is a four-component point in space.

Definition at line 416 of file lpoint4.h.


Member Function Documentation

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.

Definition at line 679 of file lpoint4.h.

const LPoint4d & LPoint4d::unit_w ( ) [inline, static]

Returns a unit W point.

Reimplemented from LVecBase4d.

Definition at line 587 of file lpoint4.h.

const LPoint4d & LPoint4d::unit_x ( ) [inline, static]

Returns a unit X point.

Reimplemented from LVecBase4d.

Definition at line 557 of file lpoint4.h.

const LPoint4d & LPoint4d::unit_y ( ) [inline, static]

Returns a unit Y point.

Reimplemented from LVecBase4d.

Definition at line 567 of file lpoint4.h.

const LPoint4d & LPoint4d::unit_z ( ) [inline, static]

Returns a unit Z point.

Reimplemented from LVecBase4d.

Definition at line 577 of file lpoint4.h.

const LPoint4d & LPoint4d::zero ( ) [inline, static]

Returns a zero-length point.

Reimplemented from LVecBase4d.

Definition at line 547 of file lpoint4.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations