OverSim
VastDefs.h File Reference
#include <NodeHandle.h>
#include <Vector2D.h>
#include <math.h>
#include <map>
#include <set>
#include <list>
#include <vector>

Go to the source code of this file.

Classes

class  Site
class  Edge
class  Halfedge
class  HeapPQ
 HeapPQ class. More...
class  Geometry
 Geometry class. More...
class  EdgeList
 EdgeList class. More...

Macros

#define UNDEF   0
#define THIS   1
#define ENCLOSING   2
#define NEIGHBOR   4
#define BOUNDARY   8
#define NEW   16
#define le   0
#define re   1
#define DELETED   -2

Typedefs

typedef std::set< Vector2DPositionSet
 Vast Definitions.
typedef std::set< NodeHandleEnclosingSet
typedef std::list< NodeHandleStockList
typedef std::map< NodeHandle,
Site * > 
SiteMap

Detailed Description

Author
Helge Backhaus

Definition in file VastDefs.h.

Macro Definition Documentation

#define BOUNDARY   8
#define DELETED   -2

Definition at line 46 of file VastDefs.h.

Referenced by EdgeList::ELdelete(), and EdgeList::ELgethash().

#define NEIGHBOR   4

Definition at line 39 of file VastDefs.h.

Referenced by Vast::buildVoronoi(), operator<<(), and Vast::processPingTimer().

#define NEW   16

Definition at line 41 of file VastDefs.h.

Referenced by Vast::buildVoronoi(), Vast::handleNodeMove(), and operator<<().

#define THIS   1

Typedef Documentation

typedef std::set<NodeHandle> EnclosingSet

Definition at line 54 of file VastDefs.h.

typedef std::set<Vector2D> PositionSet

Vast Definitions.

Some structures needed for building a voronoi diagram and maintaining the overlays neighbors.

Definition at line 53 of file VastDefs.h.

typedef std::map<NodeHandle, Site*> SiteMap

Definition at line 72 of file VastDefs.h.

typedef std::list<NodeHandle> StockList

Definition at line 55 of file VastDefs.h.