#include <Point.h>
Inheritance diagram for Point::
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. |
|
The w coordinate (space) ... should always be 1.0, otherwise, should normalize the Point into the first space.
|