#include <GLViewer_Geom.h>
Public Member Functions |
| | GLViewer_Pnt () |
| | GLViewer_Pnt (GLfloat theX, GLfloat theY) |
| GLfloat | x () const |
| GLfloat | y () const |
| void | setX (GLfloat theX) |
| void | setY (GLfloat theY) |
| void | setXY (GLfloat theX, GLfloat theY) |
| void | move (GLfloat theDX, GLfloat theDY) |
Private Attributes |
| GLfloat | myX |
| GLfloat | myY |
Detailed Description
Struct GLViewer_Pnt Substitution of QPoint for OpenGL
Constructor & Destructor Documentation
| GLViewer_Pnt.GLViewer_Pnt |
( |
| ) |
|
| GLViewer_Pnt.GLViewer_Pnt |
( |
GLfloat |
theX, |
|
|
GLfloat |
theY |
|
) |
| |
Member Function Documentation
| GLfloat GLViewer_Pnt.x |
( |
| ) |
const |
| GLfloat GLViewer_Pnt.y |
( |
| ) |
const |
| void GLViewer_Pnt.setX |
( |
GLfloat |
theX | ) |
|
| void GLViewer_Pnt.setY |
( |
GLfloat |
theY | ) |
|
| void GLViewer_Pnt.setXY |
( |
GLfloat |
theX, |
|
|
GLfloat |
theY |
|
) |
| |
| void GLViewer_Pnt.move |
( |
GLfloat |
theDX, |
|
|
GLfloat |
theDY |
|
) |
| |
Field Documentation