Main Page   Class Hierarchy   Compound List   File List   Compound Members  

Point Class Reference

Class definition for Point. More...

#include <Point.h>

Inheritance diagram for Point::

Vertex List of all members.

Public Methods

 Point (GLfloat x=0.0f, GLfloat y=0.0f, GLfloat z=0.0f, GLfloat w=1.0f)
 The w coordinate (space) ... should always be 1.0, otherwise, should normalize the Point into the first space. More...

GLfloat x () const
 Getter for the x coordinate.

GLfloat y () const
 Getter for the y coordinate.

GLfloat z () const
 Getter for the z coordinate.

GLfloat w () const
 Getter for the w coordinate.

GLfloat & x ()
 Reference to (setter for) the x coordinate.

GLfloat & y ()
 Reference to (setter for) the y coordinate.

GLfloat & z ()
 Reference to (setter for) the z coordinate.

GLfloat & w ()
 Reference to (setter for) the w coordinate.

GLvoid setPoints (GLfloat x, GLfloat y, GLfloat z, GLfloat w=1.0f)
 Set the coordinates of the Point.

std::string toString ()
 Return coordinates of the Point in string form.


Detailed Description

Class definition for Point.


Constructor & Destructor Documentation

Point::Point GLfloat    x = 0.0f,
GLfloat    y = 0.0f,
GLfloat    z = 0.0f,
GLfloat    w = 1.0f
 

The w coordinate (space) ... should always be 1.0, otherwise, should normalize the Point into the first space.

Parameters:
x  The x coordinate
y  The y coordinate
z  The z coordinate


The documentation for this class was generated from the following files:
Generated on Fri Dec 21 00:16:49 2001 for Mesh Decimation by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001