Graphviz
13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
info.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
13
#include <stdbool.h>
14
#include <stddef.h>
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
20
#include <
neatogen/poly.h
>
21
#include <
neatogen/voronoi.h
>
22
24
typedef
struct
{
25
Agnode_t
*
node
;
26
Site
site
;
27
bool
overlaps
;
28
Poly
poly
;
29
Point
*
verts
;
30
size_t
n_verts
;
31
}
Info_t
;
32
34
extern
Info_t
*
nodeInfo
;
35
37
void
addVertex
(
Site
*,
double
,
double
);
38
39
#ifdef __cplusplus
40
}
41
#endif
nodeInfo
Info_t * nodeInfo
array of node info
Definition
info.c:17
addVertex
void addVertex(Site *, double, double)
insert vertex into sorted list
Definition
info.c:101
poly.h
Agnode_s
Definition
cgraph.h:259
Info_t
info concerning site
Definition
info.h:24
Info_t::n_verts
size_t n_verts
number of elements in verts
Definition
info.h:30
Info_t::verts
Point * verts
sorted list of vertices of voronoi polygon
Definition
info.h:29
Info_t::overlaps
bool overlaps
true if node overlaps other nodes
Definition
info.h:27
Info_t::poly
Poly poly
polygon at node
Definition
info.h:28
Info_t::node
Agnode_t * node
libgraph node
Definition
info.h:25
Info_t::site
Site site
site used by voronoi code
Definition
info.h:26
Point
Definition
geometry.h:22
Poly
Definition
poly.h:19
Site
Definition
site.h:22
voronoi.h
lib
neatogen
info.h
Generated by
1.9.8