~ubuntu-branches/ubuntu/lucid/graphviz/lucid-security

« back to all changes in this revision

Viewing changes to dotneato/neatogen/info.h

  • Committer: Bazaar Package Importer
  • Author(s): Stephen M Moraco
  • Date: 2002-02-05 18:52:12 UTC
  • Revision ID: james.westby@ubuntu.com-20020205185212-8i04c70te00rc40y
Tags: upstream-1.7.16
ImportĀ upstreamĀ versionĀ 1.7.16

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
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.
 
9
*/
 
10
 
 
11
#pragma prototyped
 
12
 
 
13
#ifndef INFO_H
 
14
#define INFO_H
 
15
 
 
16
#include "voronoi.h"
 
17
#include "poly.h"
 
18
#include "graph.h"
 
19
 
 
20
typedef struct ptitem {           /* Point list */
 
21
    struct ptitem*    next;
 
22
    Point             p;
 
23
} PtItem;
 
24
 
 
25
typedef struct {                  /* Info concerning site */
 
26
    Agnode_t*   node;                 /* libgraph node */
 
27
    Site        site;                 /* site used by voronoi code */
 
28
    int         overlaps;             /* true if node overlaps other nodes */
 
29
    Poly        poly;                 /* polygon at node */
 
30
    PtItem*     verts;                /* sorted list of vertices of */
 
31
                                      /* voronoi polygon */
 
32
} Info_t;
 
33
 
 
34
extern Info_t*    nodeInfo;                 /* Array of node info */
 
35
 
 
36
extern void infoinit();
 
37
  /* Insert vertex into sorted list */
 
38
extern void addVertex (Site*, float, float);  
 
39
#endif