Graphviz 13.1.3~dev.20250829.1031
Loading...
Searching...
No Matches
hedges.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 <util/arena.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19#include <neatogen/site.h>
20#include <neatogen/edges.h>
21
22#if !defined(__CYGWIN__) && defined(__GNUC__) && !defined(__MINGW32__)
23#define INTERNAL __attribute__((visibility("hidden")))
24#else
25#define INTERNAL /* nothing */
26#endif
27
28 typedef struct Halfedge {
31 char ELpm;
33 double ystar;
36
44
54
55#undef INTERNAL
56
57#ifdef __cplusplus
58}
59#endif
Region-based memory allocator.
#define INTERNAL
Definition hedges.h:25
INTERNAL Site * rightreg(Halfedge *)
Definition hedges.c:247
INTERNAL Halfedge * ELleft(Halfedge *)
INTERNAL void ELdelete(Halfedge *)
Definition hedges.c:221
INTERNAL void ELcleanup(el_state_t *)
Definition hedges.c:21
INTERNAL Halfedge * ELleftbnd(el_state_t *, Point *)
Definition hedges.c:183
INTERNAL Halfedge * HEcreate(el_state_t *, Edge *, char)
Definition hedges.c:132
INTERNAL void ELinsert(Halfedge *, Halfedge *)
Definition hedges.c:142
INTERNAL void ELinitialize(el_state_t *)
Definition hedges.c:26
INTERNAL Site * leftreg(Halfedge *)
INTERNAL Halfedge * ELright(Halfedge *)
Definition hedges.c:229
INTERNAL Site * hintersect(Halfedge *, Halfedge *)
Definition hedges.c:44
Definition edges.h:25
double ystar
Definition hedges.h:33
Edge * ELedge
Definition hedges.h:30
struct Halfedge * PQnext
Definition hedges.h:34
char ELpm
Definition hedges.h:31
Site * vertex
Definition hedges.h:32
struct Halfedge * ELleft
Definition hedges.h:29
struct Halfedge * ELright
Definition hedges.h:29
Definition site.h:28
int hashsize
Definition hedges.h:39
Halfedge * leftend
Definition hedges.h:41
Halfedge ** hash
Definition hedges.h:40
arena_t allocated
outstanding live Halfedges
Definition hedges.h:38
Halfedge * rightend
Definition hedges.h:42