comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » How to find points inside a bounding polygon?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
How to find points inside a bounding polygon? [message #14819] Fri, 26 March 1999 00:00
luthi is currently offline  luthi
Messages: 20
Registered: March 1999
Junior Member
Dear all

Is there a simple and fast way to find the indices of array elements, which
are inside of a boundary (in 2 dimensions). Let's say coord(npoints, 2) is an
array of coordinates in the plane and bound(nbound, 2) is the array of a
bounday polygon. The coordintes are not on a grid (otherwise one could use
polyfillv (PV-Wave).

Thank you for any suggestion!

Martin

--
============================================================
Martin Luethi Tel. +41 1 632 40 92
Glaciology Section Fax. +41 1 632 11 92
VAW ETH Zuerich
CH-8092 Zuerich mail luthi@vaw.baum.ethz.ch
Switzerland
============================================================
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: How to find points inside a bounding polygon?
Next Topic: Help! Color tables - decomposed=0?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:52:27 PDT 2025

Total time taken to generate the page: 0.00489 seconds