[Numpy-discussion] floating point arithmetic issue

Alan G Isaac alan.isaac@gmail....
Fri Jul 30 12:12:08 CDT 2010

On 7/30/2010 12:59 PM, Guillaume Chérel wrote:
> my problem may involve
> many more than 2 disks at a time

You cd approximate each disc by a polygon, as accurately
as you need, and test each point for membership in each disc:
	from matplotlib.nxutils import pnpoly

Alan Isaac

More information about the NumPy-Discussion mailing list