CLIM mail archive
Re: Silly Drawing Questions
Date: Thu, 13 Jan 1994 11:01 EST
From: Clint Hyde *** <firstname.lastname@example.org>
--> How can I check if a point is inside a polygon? There
--> is a function REGION-CONTAINS-REGION-P. This one
--> calls REGION-CONTAINS-POSITION-P. And for this
--> generic functions is no matching method available.
--> Isn't it implemented or am I too stupid?
there are actually a couple of really cool algorithms for this. I
implemented at least one of them a few years ago. I have the code around
somewhere, I think. I don't know if the CLIM functions work for
oddly-shaped polygons; mine do.
I never got around to implementing this. If you want to donate your
code to the cause, I will gladly accept it.
Main Index |