Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
delaunay.h
Go to the documentation of this file.
1/*************************************************************************
2 * Copyright (c) 2011 AT&T Intellectual Property
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * https://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors: Details at https://graphviz.org
9 *************************************************************************/
10
11#pragma once
12
14
15typedef struct {
16 int nedges; /* no. of edges in triangulation */
17 int* edges; /* 2*nsegs indices of points */
18 int nfaces; /* no. of faces in triangulation */
19 int* faces; /* 3*nfaces indices of points */
20 int* neigh; /* 3*nfaces indices of neighbor triangles */
21} surface_t;
22
23int *delaunay_tri (double *x, double *y, int n, int* nedges);
24
25int *get_triangles (double *x, int n, int* ntris);
26
27v_data *UG_graph(double *x, double *y, int n);
28
29surface_t* mkSurface (double *x, double *y, int n, int* segs, int nsegs);
30
31void freeSurface (surface_t* s);
v_data * UG_graph(double *x, double *y, int n)
Definition delaunay.c:785
surface_t * mkSurface(double *x, double *y, int n, int *segs, int nsegs)
Definition delaunay.c:762
int * delaunay_tri(double *x, double *y, int n, int *nedges)
Definition delaunay.c:756
int * get_triangles(double *x, int n, int *ntris)
Definition delaunay.c:747
void freeSurface(surface_t *s)
Definition delaunay.c:768
static int nedges
total no. of edges used in routing
Definition routespl.c:31
int nedges
Definition delaunay.h:16
int * edges
Definition delaunay.h:17
int * faces
Definition delaunay.h:19
int nfaces
Definition delaunay.h:18
int * neigh
Definition delaunay.h:20
Definition grammar.c:93