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
Re: data inside a circle [message #44445 is a reply to message #44357] Mon, 13 June 2005 09:20 Go to previous messageGo to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
> Thank you. I was wondering if there is a function or procedure in IDL
> that will find the coordinates of the bounding box for a circle and/or
> ellipse.

If the origin is at [x, y] and you have a radius r, the bounding box is
defined by [x - r, y - r] for the lower left-hand corner and [x + r, y +
r] for the upper-right hand corner. If you have an ellipse, just
replace r with the radius in the x direction and radius in the y
direction. This assumes that you don't have any ellipses that are tilted.

-Mike
[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: Sun Oct 12 04:39:26 PDT 2025

Total time taken to generate the page: 1.20253 seconds