Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions
Vec4D Class Reference

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

Inheritance diagram for Vec4D:
VBase4D

List of all members.

Public Member Functions

 Vec4D ()
 Vec4D (VBase4D const copy)
 Vec4D (double fill_value)
 Vec4D (double x, double y, double z, double w)
PyObject getattr (string attr_name)
Vec4D operator* (double scalar)
VBase4D operator+ (VBase4D const other)
Vec4D operator+ (Vec4D const other)
Vec4D operator- ()
VBase4D operator- (VBase4D const other)
Vec4D operator- (Vec4D const other)
Vec4D operator/ (double scalar)
Vec4D operator= (VBase4D const copy)
Vec4D operator= (double fill_value)
Vec4D project (VBase4D const onto)
 Returns a new vector representing the projection of this vector onto another one.
 pythonRepr (ostream out, string class_name)
int setattr (PyObject self, string attr_name, PyObject assign)

Static Public Member Functions

static TypeHandle getClassType ()
static Vec4D const unitW ()
 Returns a unit W vector.
static Vec4D const unitX ()
 Returns a unit X vector.
static Vec4D const unitY ()
 Returns a unit Y vector.
static Vec4D const unitZ ()
 Returns a unit Z vector.
static Vec4D const zero ()
 Returns a zero-length vector.

Detailed Description

This is a four-component vector distance.


Constructor & Destructor Documentation

Vec4D ( )
Vec4D ( VBase4D const  copy)
Vec4D ( double  fill_value)
Vec4D ( double  x,
double  y,
double  z,
double  w 
)

Member Function Documentation

PyObject getattr ( string  attr_name)

Reimplemented from VBase4D.

static TypeHandle getClassType ( ) [static]

Reimplemented from VBase4D.

Vec4D operator* ( double  scalar)

Reimplemented from VBase4D.

VBase4D operator+ ( VBase4D const  other)

Reimplemented from VBase4D.

Vec4D operator+ ( Vec4D const  other)
Vec4D operator- ( )

Reimplemented from VBase4D.

VBase4D operator- ( VBase4D const  other)

Reimplemented from VBase4D.

Vec4D operator- ( Vec4D const  other)
Vec4D operator/ ( double  scalar)

Reimplemented from VBase4D.

Vec4D operator= ( VBase4D const  copy)

Reimplemented from VBase4D.

Vec4D operator= ( double  fill_value)

Reimplemented from VBase4D.

Vec4D project ( VBase4D const  onto)

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 VBase4D.

pythonRepr ( ostream  out,
string  class_name 
)

Reimplemented from VBase4D.

int setattr ( PyObject  self,
string  attr_name,
PyObject  assign 
)

Reimplemented from VBase4D.

static Vec4D const unitW ( ) [static]

Returns a unit W vector.

Reimplemented from VBase4D.

static Vec4D const unitX ( ) [static]

Returns a unit X vector.

Reimplemented from VBase4D.

static Vec4D const unitY ( ) [static]

Returns a unit Y vector.

Reimplemented from VBase4D.

static Vec4D const unitZ ( ) [static]

Returns a unit Z vector.

Reimplemented from VBase4D.

static Vec4D const zero ( ) [static]

Returns a zero-length vector.

Reimplemented from VBase4D.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties