Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

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


Chronological Thread 
  • From: "Max" <>
  • To: "" <>
  • Subject: Re: [cgal-discuss] How to determine if a Kernel type is standardor extended type?
  • Date: Tue, 19 Feb 2008 10:39:19 +0800
  • Disposition-notification-to: "Max" <>
  • Organization: LoadCom

Hello Peter,

Thank you for your further information.
So, for Nef_polyhedron_3, there's an extra means to
check the kernel type at runtime.

B/Rgds
Max

>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
>--
>You are currently subscribed to cgal-discuss.
>To unsubscribe or access the archives, go to
>https://lists-sop.inria.fr/wws/info/cgal-discuss
>



Archive powered by MHonArc 2.6.16.

Top of Page