Version: 9.15.0
GLViewer_Pnt Struct Reference

#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() [1/2]

GLViewer_Pnt::GLViewer_Pnt ( )
inline

◆ GLViewer_Pnt() [2/2]

GLViewer_Pnt::GLViewer_Pnt ( GLfloat  theX,
GLfloat  theY 
)
inline

Member Function Documentation

◆ move()

void GLViewer_Pnt::move ( GLfloat  theDX,
GLfloat  theDY 
)
inline

◆ setX()

void GLViewer_Pnt::setX ( GLfloat  theX)
inline

◆ setXY()

void GLViewer_Pnt::setXY ( GLfloat  theX,
GLfloat  theY 
)
inline

◆ setY()

void GLViewer_Pnt::setY ( GLfloat  theY)
inline

◆ x()

GLfloat GLViewer_Pnt::x ( ) const
inline

◆ y()

GLfloat GLViewer_Pnt::y ( ) const
inline

Member Data Documentation

◆ myX

GLfloat GLViewer_Pnt::myX
private

◆ myY

GLfloat GLViewer_Pnt::myY
private

The documentation for this struct was generated from the following file: