luxrays::Point Class Reference

#include <point.h>

List of all members.

Public Member Functions

 Point (float _x=0.f, float _y=0.f, float _z=0.f)
 Point (float v[3])
Point operator+ (const Vector &v) const
Pointoperator+= (const Vector &v)
Vector operator- (const Point &p) const
Point operator- (const Vector &v) const
Pointoperator-= (const Vector &v)
Pointoperator+= (const Point &p)
Pointoperator-= (const Point &p)
Point operator+ (const Point &p) const
Point operator* (float f) const
Pointoperator*= (float f)
Point operator/ (float f) const
Pointoperator/= (float f)
float operator[] (int i) const
float & operator[] (int i)

Public Attributes

float x
float y
float z

Detailed Description

Definition at line 29 of file point.h.


Constructor & Destructor Documentation

luxrays::Point::Point ( float  _x = 0.f,
float  _y = 0.f,
float  _z = 0.f 
) [inline]

Definition at line 33 of file point.h.

Referenced by operator*(), operator+(), operator-(), and operator/().

luxrays::Point::Point ( float  v[3]  )  [inline]

Definition at line 37 of file point.h.


Member Function Documentation

Point luxrays::Point::operator* ( float  f  )  const [inline]

Definition at line 84 of file point.h.

References Point(), x, y, and z.

Point& luxrays::Point::operator*= ( float  f  )  [inline]

Definition at line 88 of file point.h.

References x, y, and z.

Point luxrays::Point::operator+ ( const Point p  )  const [inline]

Definition at line 80 of file point.h.

References Point(), x, y, and z.

Point luxrays::Point::operator+ ( const Vector v  )  const [inline]

Definition at line 40 of file point.h.

References Point(), luxrays::Vector::x, x, luxrays::Vector::y, y, luxrays::Vector::z, and z.

Point& luxrays::Point::operator+= ( const Point p  )  [inline]

Definition at line 66 of file point.h.

References x, y, and z.

Point& luxrays::Point::operator+= ( const Vector v  )  [inline]

Definition at line 44 of file point.h.

References luxrays::Vector::x, x, luxrays::Vector::y, y, luxrays::Vector::z, and z.

Point luxrays::Point::operator- ( const Vector v  )  const [inline]

Definition at line 55 of file point.h.

References Point(), luxrays::Vector::x, x, luxrays::Vector::y, y, luxrays::Vector::z, and z.

Vector luxrays::Point::operator- ( const Point p  )  const [inline]

Definition at line 51 of file point.h.

References x, y, and z.

Point& luxrays::Point::operator-= ( const Point p  )  [inline]

Definition at line 73 of file point.h.

References x, y, and z.

Point& luxrays::Point::operator-= ( const Vector v  )  [inline]

Definition at line 59 of file point.h.

References luxrays::Vector::x, x, luxrays::Vector::y, y, luxrays::Vector::z, and z.

Point luxrays::Point::operator/ ( float  f  )  const [inline]

Definition at line 95 of file point.h.

References Point(), x, y, and z.

Point& luxrays::Point::operator/= ( float  f  )  [inline]

Definition at line 100 of file point.h.

References x, y, and z.

float& luxrays::Point::operator[] ( int  i  )  [inline]

Definition at line 112 of file point.h.

References x.

float luxrays::Point::operator[] ( int  i  )  const [inline]

Definition at line 108 of file point.h.

References x.


Member Data Documentation


The documentation for this class was generated from the following file:
Generated on Sat Aug 21 14:06:20 2010 for LuxRays by  doxygen 1.6.3