Graphviz 13.0.0~dev.20241220.2304
|
#include "config.h"
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <cgraph/cgraph.h>
#include <neatogen/delaunay.h>
#include <util/alloc.h>
#include <util/sort.h>
Go to the source code of this file.
Functions | |
int * | get_triangles (double *x, int n, int *tris) |
static v_data * | delaunay_triangulation (double *x, double *y, int n) |
int * | delaunay_tri (double *x, double *y, int n, int *nedges) |
surface_t * | mkSurface (double *x, double *y, int n, int *segs, int nsegs) |
void | freeSurface (surface_t *s) |
static void | remove_edge (v_data *graph, int source, int dest) |
v_data * | UG_graph (double *x, double *y, int n) |
void | freeGraph (v_data *graph) |
void | freeGraphData (vtx_data *graph) |
Variables | |
static char * | err = "Graphviz built without any triangulation library\n" |
int * delaunay_tri | ( | double * | x, |
double * | y, | ||
int | n, | ||
int * | nedges | ||
) |
Definition at line 718 of file delaunay.c.
References agerrorf(), and err.
Referenced by call_tri().
|
static |
Definition at line 714 of file delaunay.c.
References agerrorf(), and err.
Referenced by UG_graph().
void freeGraph | ( | v_data * | graph | ) |
Definition at line 814 of file delaunay.c.
References free(), graph(), and NULL.
Referenced by call_tri2(), and prepare_topological_fisheye().
void freeGraphData | ( | vtx_data * | graph | ) |
Definition at line 823 of file delaunay.c.
References free(), graph(), and NULL.
Referenced by majorization(), and subset_model().
void freeSurface | ( | surface_t * | s | ) |
Definition at line 730 of file delaunay.c.
References agerrorf(), and err.
Referenced by mkRouter().
int * get_triangles | ( | double * | x, |
int | n, | ||
int * | tris | ||
) |
Definition at line 709 of file delaunay.c.
References agerrorf(), and err.
Referenced by get_tri().
surface_t * mkSurface | ( | double * | x, |
double * | y, | ||
int | n, | ||
int * | segs, | ||
int | nsegs | ||
) |
Definition at line 724 of file delaunay.c.
References agerrorf(), and err.
Referenced by mkRouter().
|
static |
Definition at line 736 of file delaunay.c.
References graph().
Referenced by UG_graph().
v_data * UG_graph | ( | double * | x, |
double * | y, | ||
int | n | ||
) |
Definition at line 747 of file delaunay.c.
References delaunay_triangulation(), v_data::edges, v_data::ewgts, gv_calloc(), v_data::nedges, NULL, and remove_edge().
Referenced by call_tri2(), makeHier(), and rescale_layout_polar().
|
static |
Definition at line 708 of file delaunay.c.
Referenced by delaunay_tri(), delaunay_triangulation(), freeSurface(), gdgen_text(), get_triangles(), gv_fopen(), gvloadimage_rsvg_load(), layout(), mkSurface(), rank2(), render(), render(), render(), renderchannel(), renderdata(), setEdgeLen(), SWIG_croak_null(), tred(), write(), and write().