Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] clarfication about the function squared_radius()

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] clarfication about the function squared_radius()


Chronological Thread 
  • From: Monique Teillaud <>
  • To:
  • Subject: Re: [cgal-discuss] clarfication about the function squared_radius()
  • Date: Sun, 01 Feb 2009 09:44:12 +0100

Kwok Jasper wrote:
Excuse me, may I clarify something about the following function in CGAL?/


FT squared_radius ( Point_2 <http://www.cgal.org/Manual/3.4/doc_html/cgal_manual/Kernel_23_ref/Concept_Kernel--Point_2.html#Cross_link_anchor_375><Kernel> <http://www.cgal.org/Manual/3.4/doc_html/cgal_manual/Kernel_23_ref/Class_Ambient_dimension.html#Cross_link_anchor_609> p, Point_2 <http://www.cgal.org/Manual/3.4/doc_html/cgal_manual/Kernel_23_ref/Concept_Kernel--Point_2.html#Cross_link_anchor_375><Kernel> <http://www.cgal.org/Manual/3.4/doc_html/cgal_manual/Kernel_23_ref/Class_Ambient_dimension.html#Cross_link_anchor_609> q, Point_2 <http://www.cgal.org/Manual/3.4/doc_html/cgal_manual/Kernel_23_ref/Concept_Kernel--Point_2.html#Cross_link_anchor_375><Kernel> <http://www.cgal.org/Manual/3.4/doc_html/cgal_manual/Kernel_23_ref/Class_Ambient_dimension.html#Cross_link_anchor_609> r)
/compute the squared radius of the circle passing through the points /p/, /q/, and /r/.
_Precondition:_ /p/, /q/, and /r/ are not collinear.

The documentation mention the term "squared radius"

If the radius of the circle passing through p, q and r equal to R
then, is it that the above function return R * R but not R?

yes

Thank you very much




------------------------------------------------------------------------




Archive powered by MHonArc 2.6.16.

Top of Page