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

Home » Public Forums » archive » Re: Fitting a circle
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
Re: Fitting a circle [message #12002] Fri, 19 June 1998 00:00
mallors is currently offline  mallors
Messages: 76
Registered: November 1997
Member
In article <6mdgei$1r$2@gwdu19.gwdg.de>,
pit@gollum.uni-sw.gwdg.de (Peter Suetterlin) writes:
> Hi,
>
> does anyone know about an IDL routine for fitting a circle or an arc,
> i.e. given a set of (x,y) values, determine center (X,Y) and radius R?
>
> Thanks,

You might try the CIR_3PNT routine:

"The CIR_3PNT procedure returns the radius and
center of a circle, given 3 points on the circle.
This is analogous to finding the circumradius and
circumcircle of a triangle; the center of the circumcircle
is the point at which the three perpendicular bisectors of
the triangle formed by the points meet.

This routine is written in the IDL language. Its source code
can be found in the file cir_3pnt.pro in the lib subdirectory
of the IDL distribution."



--
Robert S. Mallozzi
http://cspar.uah.edu/~mallozzir/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: WHat the bloody hell?
Next Topic: Fitting a circle

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

Current Time: Fri Oct 10 20:26:45 PDT 2025

Total time taken to generate the page: 1.52026 seconds