Graphviz  2.41.20170921.2350
Data Structures | Macros | Typedefs | Functions | Variables
edges.h File Reference
#include "site.h"
Include dependency graph for edges.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Edge
 

Macros

#define EDGES_H
 
#define le   0
 
#define re   1
 

Typedefs

typedef struct Edge Edge
 

Functions

void edgeinit (void)
 
void endpoint (Edge *, int, Site *)
 
void clip_line (Edge *e)
 
Edgegvbisect (Site *, Site *)
 

Variables

double pxmin
 
double pxmax
 
double pymin
 
double pymax
 

Macro Definition Documentation

#define EDGES_H

Definition at line 21 of file edges.h.

#define le   0
#define re   1

Typedef Documentation

typedef struct Edge Edge

Function Documentation

void clip_line ( Edge e)

Definition at line 79 of file edges.c.

References Edge::a, Edge::b, Edge::c, Site::coord, Edge::ep, NULL, pxmax, pxmin, pymax, pymin, s1(), Point::x, and Point::y.

Referenced by endpoint(), and voronoi().

void edgeinit ( void  )

Definition at line 26 of file edges.c.

References freeinit().

Referenced by voronoi().

void endpoint ( Edge ,
int  ,
Site  
)

Definition at line 199 of file edges.c.

References clip_line(), deref(), Edge::ep, le, makefree(), NULL, re, ref(), and Edge::reg.

Referenced by voronoi().

Edge* gvbisect ( Site ,
Site  
)

Definition at line 32 of file edges.c.

References Edge::a, Edge::b, Edge::c, Site::coord, Edge::edgenbr, Edge::ep, getfree(), NULL, ref(), Edge::reg, s1(), Point::x, and Point::y.

Referenced by voronoi().

Variable Documentation

double pxmax

Definition at line 21 of file edges.c.

Referenced by clip_line().

double pxmin

Definition at line 21 of file edges.c.

Referenced by clip_line().

double pymax

Definition at line 21 of file edges.c.

Referenced by clip_line().

double pymin

Definition at line 21 of file edges.c.

Referenced by clip_line().