Added revised version from pcb-rnd.
[geda-pcb/pcjc2.git] / src / intersect.h
blobbd3ac197aad8ceea5c916b268f8018a72393921d
1 /*!
2 * \file src/intersect.h
4 * \brief Prototypes for rectangle intersection/union routines.
6 * \author this file, intersect.h, was written and is
7 * Copyright (c) 2001 C. Scott Ananian.
9 * <hr>
11 * <h1><b>Copyright.</b></h1>\n
13 * PCB, interactive printed circuit board design
14 * Copyright (C) 1994,1995,1996 Thomas Nau
15 * Copyright (C) 1998,1999,2000,2001 harry eaton
17 * This program is free software; you can redistribute it and/or modify
18 * it under the terms of the GNU General Public License as published by
19 * the Free Software Foundation; either version 2 of the License, or
20 * (at your option) any later version.
22 * This program is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU General Public License for more details.
27 * You should have received a copy of the GNU General Public License
28 * along with this program; if not, write to the Free Software
29 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
31 * Contact addresses for paper mail and Email:
32 * harry eaton, 6697 Buttonhole Ct, Columbia, MD 21044 USA
33 * haceaton@aplcomm.jhuapl.edu
37 #ifndef PCB_INTERSECT_H
38 #define PCB_INTERSECT_H
40 #include "global.h"
42 double ComputeIntersectionArea (BoxListType *boxlist); /* will sort boxlist */
43 double ComputeUnionArea (BoxListType *boxlist);
45 #endif