OverSim
|
#include <VastDefs.h>
Public Member Functions | |
void | initialize (double deltax, double deltay, Vector2D center, Vector2D old_pos, Vector2D new_pos, double radius) |
void | reset () |
void | setDebug (bool debugOutput) |
Edge * | bisect (Site *s1, Site *s2) |
Site * | intersect (Halfedge *el1, Halfedge *el2) |
void | endpoint (Edge *e, int lr, Site *s) |
void | processEdge (Edge *e) |
double | dist (Site *s, Site *t) |
Protected Member Functions | |
bool | intersectCircleLine (Vector2D start, Vector2D dir, Vector2D center, bool lowerBound, bool upperBound) |
bool | intersectCircleSite (Site *s, Vector2D center) |
Protected Attributes | |
std::vector< Site * > | SITEVector |
std::vector< Edge * > | EDGEVector |
double | deltax |
double | deltay |
double | sq_radius |
Vector2D | center [3] |
bool | debugOutput |
bool | doDiscovery |
Geometry class.
Provides basic line inter- / bisecting and processing functions, needed to build the voronoi and determine neighborhood relationships.
Definition at line 124 of file VastDefs.h.
Definition at line 313 of file VastDefs.cc.
Referenced by Vast::buildVoronoi().
Definition at line 385 of file VastDefs.cc.
Referenced by Vast::buildVoronoi().
void Geometry::initialize | ( | double | deltax, |
double | deltay, | ||
Vector2D | center, | ||
Vector2D | old_pos, | ||
Vector2D | new_pos, | ||
double | radius | ||
) |
Definition at line 159 of file VastDefs.cc.
Referenced by Vast::buildVoronoi().
Definition at line 345 of file VastDefs.cc.
Referenced by Vast::buildVoronoi().
|
protected |
Definition at line 198 of file VastDefs.cc.
Referenced by processEdge().
void Geometry::processEdge | ( | Edge * | e | ) |
Definition at line 220 of file VastDefs.cc.
Referenced by Vast::buildVoronoi(), and endpoint().
void Geometry::reset | ( | ) |
Definition at line 171 of file VastDefs.cc.
Referenced by Vast::buildVoronoi().
void Geometry::setDebug | ( | bool | debugOutput | ) |
Definition at line 183 of file VastDefs.cc.
Referenced by Vast::initializeOverlay().
|
protected |
Definition at line 142 of file VastDefs.h.
Referenced by initialize(), and processEdge().
|
protected |
Definition at line 143 of file VastDefs.h.
Referenced by processEdge(), and setDebug().
|
protected |
Definition at line 141 of file VastDefs.h.
Referenced by initialize().
|
protected |
Definition at line 141 of file VastDefs.h.
Referenced by initialize().
|
protected |
Definition at line 143 of file VastDefs.h.
Referenced by initialize(), and processEdge().
|
protected |
Definition at line 138 of file VastDefs.h.
|
protected |
Definition at line 137 of file VastDefs.h.
Referenced by intersect(), and reset().
|
protected |
Definition at line 141 of file VastDefs.h.
Referenced by initialize(), intersectCircleLine(), and intersectCircleSite().