Graphviz 13.1.3~dev.20250813.2319
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
 

Macros

#define INTERNAL   /* nothing */
 

Typedefs

typedef struct Site Site
 

Functions

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

Variables

int siteidx
 
Sitebottomsite
 

Macro Definition Documentation

◆ INTERNAL

#define INTERNAL   /* nothing */

Definition at line 24 of file site.h.

Typedef Documentation

◆ Site

typedef struct Site Site

Function Documentation

◆ deref()

INTERNAL void deref ( Site v)

Definition at line 52 of file site.c.

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

Here is the call graph for this function:

◆ getsite()

INTERNAL Site * getsite ( void  )

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()

INTERNAL void makevertex ( Site v)

Definition at line 46 of file site.c.

References nvertices, and Site::sitenbr.

Referenced by voronoi().

Here is the caller graph for this function:

◆ ngdist()

INTERNAL double ngdist ( Site s,
Site t 
)

Definition at line 34 of file site.c.

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

Referenced by voronoi().

Here is the caller graph for this function:

◆ ref()

INTERNAL void ref ( Site v)

Definition at line 59 of file site.c.

References Site::refcnt.

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

Here is the caller graph for this function:

◆ siteinit()

INTERNAL void siteinit ( void  )

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.