Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

Point Class Reference
[GLT Math]

3D Position and Normal Class More...

#include <point.h>

Inheritance diagram for Point:

Inheritance graph
[legend]
Collaboration diagram for Point:

Collaboration graph
[legend]
List of all members.

Public Methods

 Point ()
 Default constructor.

 Point (const Vector &pos, const Vector &normal)
 Constructor.

 Point (const Vector &pos, const Vector &normal, const Vector &texture)
 Constructor.

 Point (const double &x, const double &y, const double &z)
 Constructor.

Vectorposition ()
 Position of point.

const Vectorposition () const
 Position of point.

Vectornormal ()
 Surface normal of point.

const Vectornormal () const
 Surface normal of point.

Vectortexture ()
 Texture co-ordinate.

const Vectortexture () const
 Texture co-ordinate.

bool operator== (const Point &vector) const
 Equality operator.

bool operator!= (const Point &vector) const
 Inequality operator.

void transform (const Matrix &trans)
 Transform point by 4x4 matrix.


Detailed Description

3D Position and Normal Class

Definition at line 42 of file point.h.


Constructor & Destructor Documentation

Point::Point const Vector   pos,
const Vector   normal
 

Constructor.

Parameters:
pos  Position of point
normal  Surface normal of point

Definition at line 14 of file point.cpp.

Point::Point const Vector   pos,
const Vector   normal,
const Vector   texture
 

Constructor.

Parameters:
pos  Position of point
normal  Surface normal of point
texture  Texture coordinate

Definition at line 19 of file point.cpp.

Point::Point const double &    x,
const double &    y,
const double &    z
 

Constructor.

Parameters:
x  x position
y  y position
z  z position

Definition at line 24 of file point.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Nov 5 11:11:49 2002 for GLT by doxygen1.2.18