Graphviz
2.41.20171026.1811
Main Page
Data Structures
Files
File List
Globals
lib
neatogen
poly.h
Go to the documentation of this file.
1
/* $Id$ $Revision$ */
2
/* vim:set shiftwidth=4 ts=8: */
3
4
/*************************************************************************
5
* Copyright (c) 2011 AT&T Intellectual Property
6
* All rights reserved. This program and the accompanying materials
7
* are made available under the terms of the Eclipse Public License v1.0
8
* which accompanies this distribution, and is available at
9
* http://www.eclipse.org/legal/epl-v10.html
10
*
11
* Contributors: See CVS logs. Details at http://www.graphviz.org/
12
*************************************************************************/
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
#ifndef POLY_H
19
#define POLY_H
20
21
#include "
geometry.h
"
22
23
typedef
struct
{
24
Point
origin
;
25
Point
corner
;
26
int
nverts
;
27
Point
*
verts
;
28
int
kind
;
29
}
Poly
;
30
31
extern
void
polyFree
(
void
);
32
extern
int
polyOverlap
(
Point
,
Poly
*,
Point
,
Poly
*);
33
extern
int
makePoly
(
Poly
*,
Agnode_t
*,
float
,
float
);
34
extern
int
makeAddPoly
(
Poly
*,
Agnode_t
*,
float
,
float
);
35
extern
void
breakPoly
(
Poly
*);
36
37
#endif
38
39
#ifdef __cplusplus
40
}
41
#endif
Poly
Definition:
poly.h:23
makeAddPoly
int makeAddPoly(Poly *pp, Agnode_t *n, float xmargin, float ymargin)
Definition:
poly.c:183
Poly::corner
Point corner
Definition:
poly.h:25
Poly::verts
Point * verts
Definition:
poly.h:27
breakPoly
void breakPoly(Poly *pp)
Definition:
poly.c:46
Agnode_s
Definition:
cgraph.h:133
makePoly
int makePoly(Poly *pp, Agnode_t *n, float xmargin, float ymargin)
Definition:
poly.c:275
Poly::origin
Point origin
Definition:
poly.h:24
Point
Definition:
geometry.h:26
Poly::nverts
int nverts
Definition:
poly.h:26
polyOverlap
int polyOverlap(Point p, Poly *pp, Point q, Poly *qp)
Definition:
poly.c:504
geometry.h
Poly::kind
int kind
Definition:
poly.h:28
polyFree
void polyFree()
Definition:
poly.c:35
Generated by
1.8.5