Graphviz  2.41.20171026.1811
Functions
delaunay.c File Reference
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "cgraph.h"
#include "delaunay.h"
#include "memory.h"
#include "logic.h"
Include dependency graph for delaunay.c:

Go to the source code of this file.

Functions

intget_triangles (double *x, int n, int *tris)
 
v_datadelaunay_triangulation (double *x, double *y, int n)
 
intdelaunay_tri (double *x, double *y, int n, int *nedges)
 
surface_tmkSurface (double *x, double *y, int n, int *segs, int nsegs)
 
void freeSurface (surface_t *s)
 
v_dataUG_graph (double *x, double *y, int n, int accurate_computation)
 
void freeGraph (v_data *graph)
 
void freeGraphData (vtx_data *graph)
 

Function Documentation

int* delaunay_tri ( double *  x,
double *  y,
int  n,
int nedges 
)

Definition at line 754 of file delaunay.c.

References agerr(), and AGERR.

Referenced by call_tri().

v_data* delaunay_triangulation ( double *  x,
double *  y,
int  n 
)

Definition at line 749 of file delaunay.c.

References agerr(), and AGERR.

Referenced by UG_graph().

void freeGraph ( v_data graph)

Definition at line 897 of file delaunay.c.

Referenced by call_tri2().

void freeGraphData ( vtx_data graph)

Definition at line 908 of file delaunay.c.

void freeSurface ( surface_t s)

Definition at line 766 of file delaunay.c.

References agerr(), and AGERR.

Referenced by mkRouter().

int* get_triangles ( double *  x,
int  n,
int tris 
)

Definition at line 744 of file delaunay.c.

References agerr(), and AGERR.

surface_t* mkSurface ( double *  x,
double *  y,
int  n,
int segs,
int  nsegs 
)

Definition at line 760 of file delaunay.c.

References agerr(), and AGERR.

Referenced by mkRouter().

v_data* UG_graph ( double *  x,
double *  y,
int  n,
int  accurate_computation 
)

Definition at line 784 of file delaunay.c.

References delaunay_triangulation(), v_data::edges, v_data::ewgts, FALSE, N_GNEW, v_data::nedges, NULL, remove_edge(), and TRUE.

Referenced by call_tri2().