Graphviz
13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
poly.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
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
17
#include <
neatogen/geometry.h
>
18
19
typedef
struct
{
20
Point
origin
;
21
Point
corner
;
22
int
nverts
;
23
Point
*
verts
;
24
int
kind
;
25
}
Poly
;
26
27
extern
void
polyFree
(
void
);
28
extern
int
polyOverlap
(
Point
,
Poly
*,
Point
,
Poly
*);
29
int
makePoly
(
Poly
*,
Agnode_t
*,
double
,
double
);
30
int
makeAddPoly
(
Poly
*,
Agnode_t
*,
double
,
double
);
31
extern
void
breakPoly
(
Poly
*);
32
33
#ifdef __cplusplus
34
}
35
#endif
geometry.h
breakPoly
void breakPoly(Poly *)
Definition
poly.c:44
makePoly
int makePoly(Poly *, Agnode_t *, double, double)
Definition
poly.c:218
polyOverlap
int polyOverlap(Point, Poly *, Point, Poly *)
Definition
poly.c:438
polyFree
void polyFree(void)
Definition
poly.c:33
makeAddPoly
int makeAddPoly(Poly *, Agnode_t *, double, double)
Definition
poly.c:128
Agnode_s
Definition
cgraph.h:259
Point
Definition
geometry.h:22
Poly
Definition
poly.h:19
Poly::corner
Point corner
Definition
poly.h:21
Poly::nverts
int nverts
Definition
poly.h:22
Poly::verts
Point * verts
Definition
poly.h:23
Poly::kind
int kind
Definition
poly.h:24
Poly::origin
Point origin
Definition
poly.h:20
lib
neatogen
poly.h
Generated by
1.9.8