SpatialGrid::Coord Struct Reference

SpatialGrid::Coord Struct Reference

#include <mesh.h>

Class Description

Definition at line 1327 of file mesh.h.

Public Member Functions

 Coord ()
 
 Coord (unsigned int x, unsigned int y, unsigned int z)
 
unsigned intoperator[] (unsigned int i)
 
unsigned int operator[] (unsigned int i) const
 
bool operator== (const Coord &other)
 

Public Attributes

unsigned int a [3]
 

Constructor & Destructor Documentation

Coord ( )
inline

Definition at line 1329 of file mesh.h.

1329 { a[0] = a[1] = a[2] = 0; }
GLubyte GLubyte GLubyte a
Definition: GLee.h:5404
Coord ( unsigned int  x,
unsigned int  y,
unsigned int  z 
)
inline

Definition at line 1330 of file mesh.h.

1331  {
1332  a[0] = x; a[1] = y; a[2] = z;
1333  }
GLenum GLint GLint y
Definition: GLee.h:876
GLdouble GLdouble z
Definition: GLee.h:1393
GLenum GLint x
Definition: GLee.h:876
GLubyte GLubyte GLubyte a
Definition: GLee.h:5404

Member Function Documentation

unsigned int& operator[] ( unsigned int  i)
inline

Definition at line 1335 of file mesh.h.

1335 { return a[i]; };
GLubyte GLubyte GLubyte a
Definition: GLee.h:5404
unsigned int operator[] ( unsigned int  i) const
inline

Definition at line 1336 of file mesh.h.

1336 { return a[i]; };
GLubyte GLubyte GLubyte a
Definition: GLee.h:5404
bool operator== ( const Coord other)
inline

Definition at line 1338 of file mesh.h.

1339  {
1340  return a[0] == other.a[0] && a[1] == other.a[1] && a[2] == other.a[2];
1341  }
GLubyte GLubyte GLubyte a
Definition: GLee.h:5404

Member Data Documentation

unsigned int a[3]

Definition at line 1343 of file mesh.h.


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