2
This software may only be used by you under license from AT&T Corp.
3
("AT&T"). A copy of AT&T's Source Code Agreement is available at
4
AT&T's Internet website having the URL:
5
<http://www.research.att.com/sw/tools/graphviz/license/source.html>
6
If you received this software without first entering into a license
7
with AT&T, you have an infringing copy of this software and cannot use
8
it without violating AT&T's intellectual property rights.
19
Ppoly_t copypoly(Ppoly_t argpoly)
25
rv.ps = malloc(sizeof(Ppoint_t) * argpoly.pn);
26
for (i = 0; i < argpoly.pn; i++) rv.ps[i] = argpoly.ps[i];
30
void freepoly(Ppoly_t argpoly)
35
int Ppolybarriers(Ppoly_t **polys, int npolys, Pedge_t **barriers, int *n_barriers)
42
for (i = 0; i < npolys; i++)
45
bar = malloc(n * sizeof(Pedge_t));
48
for (i = 0; i < npolys; i++) {
50
for (j = 0; j < pp.pn; j++) {
52
if (k >= pp.pn) k = 0;