Graphviz  2.41.20170921.2350
Functions | Variables
site.c File Reference
#include "mem.h"
#include "site.h"
#include <math.h>
Include dependency graph for site.c:

Go to the source code of this file.

Functions

void siteinit ()
 
Sitegetsite ()
 
double dist (Site *s, Site *t)
 
void makevertex (Site *v)
 
void deref (Site *v)
 
void ref (Site *v)
 

Variables

int siteidx
 
Sitebottomsite
 

Function Documentation

void deref ( Site v)

Definition at line 63 of file site.c.

References makefree(), and Site::refcnt.

Referenced by endpoint(), PQdelete(), and voronoi().

double dist ( Site s,
Site t 
)
Site* getsite ( void  )

Definition at line 36 of file site.c.

References getfree().

Referenced by hintersect().

void makevertex ( Site v)

Definition at line 53 of file site.c.

References Site::sitenbr.

Referenced by voronoi().

void ref ( Site v)

Definition at line 70 of file site.c.

References Site::refcnt.

Referenced by endpoint(), gvbisect(), and PQinsert().

void siteinit ( void  )

Definition at line 25 of file site.c.

References freeinit().

Referenced by voronoi().

Variable Documentation

Site* bottomsite

Definition at line 20 of file site.c.

Referenced by leftreg(), rightreg(), and voronoi().

int siteidx

Definition at line 19 of file site.c.