> From: Brian Schott <[email protected]>

> 
>     Oleg's demo script pointpoly.ijs is elegant as we
> have seen repeatedly from its author. The heart of the
> script is the verb crossPnP also at the same jwiki link:
> 
> http://www.jsoftware.com/jwiki/Phrases/Geometry
> 
> (The code is under the heading "Crossing Number" near the
> bottom of the page.)
> 
>     In other threads, J contributions to RosettaCode.org
> are being developed and discussed. Is it appropriate to add
> crossPnP at the following link or does it violate the
> spirit of the expressed problem?
> 
> http://rosettacode.org/wiki/Point_in_polygon_(ray_casting_algorithm)
> 

This is a good idea. I included the sample polys and points
from Rosetta. But haven't found the test results to verify.
So a sample UI is included to visualize the results.


      
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to