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

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

Inheritance diagram for Point4:
VBase4

List of all members.

Public Member Functions

 Point4 ()
 Point4 (VBase4 const copy)
 Point4 (float fill_value)
 Point4 (float x, float y, float z, float w)
PyObject getattr (string attr_name)
Point4 operator* (float scalar)
VBase4 operator+ (VBase4 const other)
Point4 operator+ (Vec4 const other)
Point4 operator- ()
Vec4 operator- (Point4 const other)
VBase4 operator- (VBase4 const other)
Point4 operator- (Vec4 const other)
Point4 operator/ (float scalar)
Point4 operator= (VBase4 const copy)
Point4 operator= (float fill_value)
Point4 project (VBase4 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 Point4 const unitW ()
 Returns a unit W point.
static Point4 const unitX ()
 Returns a unit X point.
static Point4 const unitY ()
 Returns a unit Y point.
static Point4 const unitZ ()
 Returns a unit Z point.
static Point4 const zero ()
 Returns a zero-length point.

Detailed Description

This is a four-component point in space.


Constructor & Destructor Documentation

Point4 ( )
Point4 ( VBase4 const  copy)
Point4 ( float  fill_value)
Point4 ( float  x,
float  y,
float  z,
float  w 
)

Member Function Documentation

PyObject getattr ( string  attr_name)

Reimplemented from VBase4.

static TypeHandle getClassType ( ) [static]

Reimplemented from VBase4.

Point4 operator* ( float  scalar)

Reimplemented from VBase4.

VBase4 operator+ ( VBase4 const  other)

Reimplemented from VBase4.

Point4 operator+ ( Vec4 const  other)
Point4 operator- ( )

Reimplemented from VBase4.

Vec4 operator- ( Point4 const  other)
VBase4 operator- ( VBase4 const  other)

Reimplemented from VBase4.

Point4 operator- ( Vec4 const  other)
Point4 operator/ ( float  scalar)

Reimplemented from VBase4.

Point4 operator= ( VBase4 const  copy)

Reimplemented from VBase4.

Point4 operator= ( float  fill_value)

Reimplemented from VBase4.

Point4 project ( VBase4 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 VBase4.

pythonRepr ( ostream  out,
string  class_name 
)

Reimplemented from VBase4.

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

Reimplemented from VBase4.

static Point4 const unitW ( ) [static]

Returns a unit W point.

Reimplemented from VBase4.

static Point4 const unitX ( ) [static]

Returns a unit X point.

Reimplemented from VBase4.

static Point4 const unitY ( ) [static]

Returns a unit Y point.

Reimplemented from VBase4.

static Point4 const unitZ ( ) [static]

Returns a unit Z point.

Reimplemented from VBase4.

static Point4 const zero ( ) [static]

Returns a zero-length point.

Reimplemented from VBase4.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties