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

Home » Public Forums » archive » Calculate maximum diameter?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Calculate maximum diameter? [message #47368 is a reply to message #47300] Mon, 06 February 2006 14:36 Go to previous messageGo to previous message
Jeff N. is currently offline  Jeff N.
Messages: 120
Registered: April 2005
Senior Member
Yep, it does need to go through the center. I may end up using a
fitted ellipse as a starting point, so we'll just see what works best.
Thanks for the ideas!

Jeff


kuyper@wizard.net wrote:
> Jeff N. wrote:
>> Hi folks,
>>
>> I have a set of roughly circular ROI's for which I want to compute the
>> maximum diameter - the longest straight line from one point on the
>> boundary of the ROI, through the center, to the opposing boundary.
>
> Is it essential that it go through the center? In many contexts its
> more useful to know the length of the longest straight line from any
> given vertex to any other vertex. There's a pretty obvious O(N^2)
> algorithm for finding that maximun distance.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Slowdown when creating/destroying Object Graphics components
Next Topic: projection info (.prj file) from ESRI Shape

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

Current Time: Sun Oct 12 19:22:08 PDT 2025

Total time taken to generate the page: 0.72104 seconds