Home »
Public Forums »
archive »
How to find points inside a bounding polygon?
How to find points inside a bounding polygon? [message #14819] |
Fri, 26 March 1999 00:00 |
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
============================================================
|
|
|
Current Time: Wed Oct 08 19:52:27 PDT 2025
Total time taken to generate the page: 0.00489 seconds