Version: 6.3.1
Public Member Functions | Private Attributes

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.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

GLfloat GLViewer_Pnt.myX [private]
GLfloat GLViewer_Pnt.myY [private]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS