Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Learning CGAL, where is source code?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Learning CGAL, where is source code?


Chronological Thread 
  • From: Marc Glisse <>
  • To:
  • Subject: Re: [cgal-discuss] Learning CGAL, where is source code?
  • Date: Mon, 1 Feb 2016 09:51:49 +0100 (CET)

On Sun, 31 Jan 2016, s_gandhi wrote:

s_gandhi wrote
I am interested in CGAL's source code of few functions.
Especially, I am not able to understand "how k.
<function>
_object() works?"

If you grep for collinear_are_ordered_along_line_2_object, you will find it in CGAL/Kernel/interface_macros.h. Now various kernels define the macros differently before including that file. CGAL/Simple_cartesian.h will simply return CartesianKernelFunctors::Collinear_are_ordered_along_line_2<Kernel>(). On the other hand, CGAL/Filtered_kernel.h has a fancy filtering implementation for predicates.

--
Marc Glisse



Archive powered by MHonArc 2.6.18.

Top of Page