Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Circum center of 3 points

Subject: CGAL users discussion list

List archive

[cgal-discuss] Circum center of 3 points


Chronological Thread 
  • From: Priyank Jain <>
  • To:
  • Subject: [cgal-discuss] Circum center of 3 points
  • Date: Tue, 09 Feb 2010 15:23:19 -0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; b=vJq6ym/RYBvH0NhCDGaicKZrl5byPbLcj8f1/rJaZ9DeQXm1lBkoNaVE35S/IeLIrP 3nChMDJPuj2iWGsuYCcCziZNR1NOYUABJhZyj69MBfhqednd/Zz4zLbO/GZj4iXvLXpm 3DHuJurQ2hV7I3l0mLx80TgEhAou/tF/yRUxM=

Hello,

I need to calculate the circum-center of three points (assuming they are not collinear).

I saw that there is a construct in Circle_3 (from the manual):
Circle_3<Kernel> c ( Point_3<Kernel> p, Point_3<Kernel> q, Point_3<Kernel> r);

introduces a variable c of type Circle_3<Kernel>. It is initialized to the circle passing through the three points.

My question is: Feeding the constructor with 3 points, would the center of the resultant circle be the circum-center of the triangle formed by these three points ?

Also, is there any other construct available in CGAL that I can use ?

Thanks
/Priyank



Archive powered by MHonArc 2.6.16.

Top of Page