Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] How to determine if a Kernel type is standard or extended type?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] How to determine if a Kernel type is standard or extended type?


Chronological Thread 
  • From: Peter Hachenberger <>
  • To:
  • Subject: Re: [cgal-discuss] How to determine if a Kernel type is standard or extended type?
  • Date: Mon, 18 Feb 2008 11:53:40 +0100

Hi Max,

it is not necessary to put this into the Kernel_traits, since only Nef
polyhedra use extended kernels. The class Nef_polyhedron_3 has static
functions

bool is_standard_kernel()
bool is_extended_kernel()

Also the type

CGAL::Is_extended_kernel<Kernel>

evaluates to Tag_true or Tag_false depending on the given Kernel. If
Is_extended_kernel is not known, then include CGAL/Is_extended_kernel.h.

Peter

On Sun, 2008-02-17 at 12:44 +0800, Max wrote:
> Hi,
>
> I hope I could determine the type of a Kernel type at either compile time
> or runtime.
> I guess the relevant stuff would be in Kernel_traits, but I'm wrong.
> And I could not found such function or traits template to meet my need.
>
> Thanks for any help.
>
> B/Rgds
> Max



Archive powered by MHonArc 2.6.16.

Top of Page