Panda3D
Public Member Functions | Static Public Member Functions

LVector4d Class Reference

This is a four-component vector distance. More...

#include "lvector4.h"

Inheritance diagram for LVector4d:
LVecBase4d

List of all members.

Public Member Functions

 LVector4d (const LVecBase4d &copy)
 LVector4d (double fill_value)
 LVector4d (double x, double y, double z, double w)
LVector4d operator* (double scalar) const
LVecBase4d operator+ (const LVecBase4d &other) const
LVector4d operator+ (const LVector4d &other) const
LVecBase4d operator- (const LVecBase4d &other) const
LVector4d operator- () const
LVector4d operator- (const LVector4d &other) const
LVector4d operator/ (double scalar) const
LVector4doperator= (double fill_value)
LVector4doperator= (const LVecBase4d &copy)
LVector4d 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 LVector4dunit_w ()
 Returns a unit W vector.
static const LVector4dunit_x ()
 Returns a unit X vector.
static const LVector4dunit_y ()
 Returns a unit Y vector.
static const LVector4dunit_z ()
 Returns a unit Z vector.
static const LVector4dzero ()
 Returns a zero-length vector.

Detailed Description

This is a four-component vector distance.

Definition at line 402 of file lvector4.h.


Member Function Documentation

LVector4d LVector4d::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 651 of file lvector4.h.

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

Returns a unit W vector.

Reimplemented from LVecBase4d.

Definition at line 568 of file lvector4.h.

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

Returns a unit X vector.

Reimplemented from LVecBase4d.

Definition at line 538 of file lvector4.h.

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

Returns a unit Y vector.

Reimplemented from LVecBase4d.

Definition at line 548 of file lvector4.h.

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

Returns a unit Z vector.

Reimplemented from LVecBase4d.

Definition at line 558 of file lvector4.h.

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

Returns a zero-length vector.

Reimplemented from LVecBase4d.

Definition at line 528 of file lvector4.h.


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