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

Home » Public Forums » archive » data inside a circle
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
data inside a circle [message #44357] Fri, 10 June 2005 14:01 Go to previous message
angela is currently offline  angela
Messages: 7
Registered: June 2005
Junior Member
Hello,
I have a list of x,y coordinates and I am trying to make circles of
different centers and radii and find how many of the data points are
inside in the different circles. Do you happen to know an elegant way
to do that?
I have tried to do that using FOR loops but my data points are about
10,000 and the number of circles are about 160,000, so it takes about
2-3 hours for my program to run. I was wondering if you know of a
faster way to do that.

Thank you,
Angela
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to calculate the curve area?
Next Topic: Re: How to calculate the curve area?

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

Current Time: Fri Oct 10 01:43:45 PDT 2025

Total time taken to generate the page: 1.04255 seconds