Re: Clicks inside a polygon (Kevin 'Kev' Hughes)
Date: Thu, 11 Nov 93 14:09:34 HST
From: (Kevin 'Kev' Hughes)
Message-id: <9311120009.AA08128@pulua.hcc.Hawaii.Edu>
Subject: Re: Clicks inside a polygon
> Is there a public domain implementation of resolving if a point
> is inside or outside of a polygon such that it could be part of
> the CERN daemon distribution.

	Look at the function that does that at

	...or ask Dave Raggett, I believe he's tacking that code at the
end of the HTML+ DTD in an appendix. The function was worked on by a man
who does some heavy computer graphics work - he's analyzed many such functions,
and this one has proven itself to be one of the best. It has been featured
in the online "Raytracing News", and it is publicly distributable.
	And one nice thing is, you don't need anything above integer math
for it.

	-- Kevin