Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] How is circumcenter of a tetrahedron computed

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] How is circumcenter of a tetrahedron computed


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] How is circumcenter of a tetrahedron computed
  • Date: Tue, 28 Apr 2015 09:24:59 +0200
  • Organization: GeometryFactory

On 04/28/2015 09:16 AM, Olivier Devillers wrote:


Le 28/04/15 07:52, Sebastien Loriot (GeometryFactory) a écrit :

Try something like this:

Cell_handle cell;
Point_3 p = CGAL::circumcenter(
cell->vertex(0),
cell->vertex(1),
cell->vertex(2),
cell->vertex(3) );

Sebastien.


or


Cell_handle cell;
Point_3 p = CGAL::circumcenter(
cell->vertex(0)->point(),
cell->vertex(1)->point(),
cell->vertex(2)->point(),
cell->vertex(3)->point() );


http://doc.cgal.org/latest/Kernel_23/group__circumcenter__grp.html#gaf3f728fdb8878f994c76e83bbf795fb0




Olivier's right, I forgot the ->point()

Sebastien.



Archive powered by MHonArc 2.6.18.

Top of Page