Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] how to define circle?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] how to define circle?


Chronological Thread 
  • From: Ashwin Nanjappa <>
  • To:
  • Subject: Re: [cgal-discuss] how to define circle?
  • Date: Sat, 27 Oct 2007 15:53:06 +0800


wrote:
Hi,
what is the syntax for defining a circle in CGAL?

See:
<http://www.cgal.org/Manual/3.3.1/doc_html/cgal_manual/Kernel_23_ref/Class_Circle_2.html>

Example:
///////////////////////////////////////////////////////////
typedef CGAL::Exact_predicates_exact_constructions_kernel K;
CGAL::Point_2<K> p(0, 0); // Center at (0,0)
CGAL::Circle_2<K> c(p, 3.0); // Circle at p with squared radius 3.0
///////////////////////////////////////////////////////////

~ash


  • how to define circle?, nt_mahmood, 10/27/2007
    • Re: [cgal-discuss] how to define circle?, Ashwin Nanjappa, 10/27/2007

Archive powered by MHonArc 2.6.16.

Top of Page