Graphviz
14.0.2~dev.20251008.0253
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
#include <
util/api.h
>
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
21
#include <
neatogen/poly.h
>
22
#include <
neatogen/voronoi.h
>
23
25
typedef
struct
{
26
Agnode_t
*
node
;
27
Site
site
;
28
bool
overlaps
;
29
Poly
poly
;
30
Point
*
verts
;
31
size_t
n_verts
;
32
}
Info_t
;
33
35
extern
Info_t
*
nodeInfo
;
36
38
PRIVATE
void
addVertex
(
Site
*,
double
,
double
);
39
40
#ifdef __cplusplus
41
}
42
#endif
api.h
macro for API hiding/exposing
PRIVATE
#define PRIVATE
Definition
api.h:16
nodeInfo
Info_t * nodeInfo
array of node info
Definition
info.c:17
addVertex
PRIVATE 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:25
Info_t::n_verts
size_t n_verts
number of elements in verts
Definition
info.h:31
Info_t::verts
Point * verts
sorted list of vertices of voronoi polygon
Definition
info.h:30
Info_t::overlaps
bool overlaps
true if node overlaps other nodes
Definition
info.h:28
Info_t::poly
Poly poly
polygon at node
Definition
info.h:29
Info_t::node
Agnode_t * node
libgraph node
Definition
info.h:26
Info_t::site
Site site
site used by voronoi code
Definition
info.h:27
Point
Definition
geometry.h:23
Poly
Definition
poly.h:21
Site
Definition
site.h:23
voronoi.h
lib
neatogen
info.h
Generated by
1.9.8