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.
30
freeinit(&sfl, sizeof (Site));
33
/* sqrt_nsites = sqrt(sn); */
40
return ((Site *) getfree(&sfl));
44
dist(Site *s, Site *t)
49
dx = s->coord.x - t->coord.x;
50
dy = s->coord.y - t->coord.y;
51
ans = sqrt(dx*dx + dy*dy);
59
v -> sitenbr = nvertices;
71
if (v -> refcnt == 0 ) makefree(v, &sfl);