/* $Id$ */
/*
* area of intersection of a circle with a rectangle
* Copyright (C) 2003, Arno Formella (formella@ei.uvigo.es)
* Thorsten Poeschel (thorsten.poeschel@charite.de)
*
* This program is free software; you can do with it whatever you want to.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
#ifndef __CIR_RECT_H__
#define __CIR_RECT_H__
// returns area of intersection of circle and rectangle
// radius must be strictly positive, ie., r>0.0
// rectangle must be well defined, ie., R_l