vector3d_t Class Reference

#include <vector3d.h>

List of all members.

Public Member Functions

 vector3d_t ()
 vector3d_t (PFLOAT v)
 vector3d_t (PFLOAT ix, PFLOAT iy, PFLOAT iz=0)
 vector3d_t (const vector3d_t &s)
 vector3d_t (const normal_t &n)
 vector3d_t (const point3d_t &p)
void set (PFLOAT ix, PFLOAT iy, PFLOAT iz=0)
vector3d_tnormalize ()
PFLOAT normLen ()
PFLOAT normLenSqr ()
PFLOAT length () const
PFLOAT lengthSqr () const
bool null () const
vector3d_toperator= (const vector3d_t &s)
vector3d_toperator+= (const vector3d_t &s)
vector3d_toperator-= (const vector3d_t &s)
vector3d_toperator/= (PFLOAT s)
vector3d_toperator*= (PFLOAT s)
PFLOAT operator[] (int i) const
void abs ()
 ~vector3d_t ()

Public Attributes

PFLOAT x
PFLOAT y
PFLOAT z

Detailed Description

Definition at line 53 of file vector3d.h.


Constructor & Destructor Documentation

vector3d_t::vector3d_t (  )  [inline]

Definition at line 56 of file vector3d.h.

vector3d_t::vector3d_t ( PFLOAT  v  )  [inline]

Definition at line 57 of file vector3d.h.

vector3d_t::vector3d_t ( PFLOAT  ix,
PFLOAT  iy,
PFLOAT  iz = 0 
) [inline]

Definition at line 58 of file vector3d.h.

vector3d_t::vector3d_t ( const vector3d_t s  )  [inline]

Definition at line 59 of file vector3d.h.

vector3d_t::vector3d_t ( const normal_t n  )  [inline, explicit]

Definition at line 131 of file vector3d.h.

vector3d_t::vector3d_t ( const point3d_t p  )  [inline, explicit]

Definition at line 132 of file vector3d.h.

vector3d_t::~vector3d_t (  )  [inline]

Definition at line 96 of file vector3d.h.


Member Function Documentation

void vector3d_t::abs (  )  [inline]

Definition at line 95 of file vector3d.h.

PFLOAT vector3d_t::length (  )  const [inline]

Definition at line 234 of file vector3d.h.

PFLOAT vector3d_t::lengthSqr (  )  const [inline]

Definition at line 87 of file vector3d.h.

vector3d_t & vector3d_t::normalize (  )  [inline]

Definition at line 244 of file vector3d.h.

PFLOAT vector3d_t::normLen (  )  [inline]

Definition at line 66 of file vector3d.h.

PFLOAT vector3d_t::normLenSqr (  )  [inline]

Definition at line 77 of file vector3d.h.

bool vector3d_t::null (  )  const [inline]

Definition at line 88 of file vector3d.h.

vector3d_t& vector3d_t::operator*= ( PFLOAT  s  )  [inline]

Definition at line 93 of file vector3d.h.

vector3d_t& vector3d_t::operator+= ( const vector3d_t s  )  [inline]

Definition at line 90 of file vector3d.h.

vector3d_t& vector3d_t::operator-= ( const vector3d_t s  )  [inline]

Definition at line 91 of file vector3d.h.

vector3d_t& vector3d_t::operator/= ( PFLOAT  s  )  [inline]

Definition at line 92 of file vector3d.h.

vector3d_t& vector3d_t::operator= ( const vector3d_t s  )  [inline]

Definition at line 89 of file vector3d.h.

PFLOAT vector3d_t::operator[] ( int  i  )  const [inline]

Definition at line 94 of file vector3d.h.

void vector3d_t::set ( PFLOAT  ix,
PFLOAT  iy,
PFLOAT  iz = 0 
) [inline]

Definition at line 63 of file vector3d.h.


Member Data Documentation

PFLOAT vector3d_t::x

Definition at line 96 of file vector3d.h.

PFLOAT vector3d_t::y

Definition at line 96 of file vector3d.h.

PFLOAT vector3d_t::z

Definition at line 96 of file vector3d.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 18 Dec 2009 for YafaRay by  doxygen 1.6.1