Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
site.h File Reference
#include <stddef.h>
#include <neatogen/geometry.h>
Include dependency graph for site.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Site
 

Typedefs

typedef struct Site Site
 

Functions

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

Variables

int siteidx
 
Sitebottomsite
 

Typedef Documentation

◆ Site

typedef struct Site Site

Function Documentation

◆ deref()

void deref ( Site v)
extern

Definition at line 52 of file site.c.

References makefree(), Site::refcnt, and sfl.

Here is the call graph for this function:

◆ dist()

double dist ( Site s,
Site t 
)
extern

Definition at line 34 of file site.c.

References Site::coord, dx, dy, Point::x, and Point::y.

◆ getsite()

Site * getsite ( void  )
extern

Definition at line 29 of file site.c.

References getfree(), and sfl.

Referenced by hintersect().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ makevertex()

void makevertex ( Site v)
extern

Definition at line 46 of file site.c.

References nvertices, and Site::sitenbr.

Referenced by voronoi().

Here is the caller graph for this function:

◆ ref()

void ref ( Site v)
extern

Definition at line 59 of file site.c.

References Site::refcnt.

Referenced by deref(), endpoint(), getval(), glCompButtonDraw(), glCompCalcWidget(), glCompImageDraw(), glCompLabelDraw(), glCompPanelDraw(), glCompRenderText(), gvbisect(), PQinsert(), refval(), setval(), and typeChkExp().

Here is the caller graph for this function:

◆ siteinit()

void siteinit ( void  )
extern

Definition at line 22 of file site.c.

References freeinit(), nvertices, and sfl.

Referenced by cleanup(), and voronoi().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ bottomsite

Site* bottomsite
extern

Definition at line 17 of file site.c.

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

◆ siteidx

int siteidx
extern

Definition at line 16 of file site.c.