Graphviz  2.35.20130930.0449
Functions | Variables
edges.c File Reference
#include "neato.h"
#include "mem.h"
#include "info.h"
#include "edges.h"
#include <math.h>
Include dependency graph for edges.c:

Go to the source code of this file.

Functions

void edgeinit ()
 
Edgebisect (Site *s1, Site *s2)
 
void clip_line (Edge *e)
 
void endpoint (Edge *e, int lr, Site *s)
 

Variables

double pxmin
 
double pxmax
 
double pymin
 
double pymax
 

Function Documentation

Edge* bisect ( Site s1,
Site s2 
)

Definition at line 32 of file edges.c.

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

Referenced by bisect(), and voronoi().

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 e,
int  lr,
Site s 
)

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

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