Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Kernel traits to distinguish kernel capability?
- Date: Wed, 04 Sep 2013 08:48:20 +0200
- Organization: GeometryFactory
Well, I just added the following:
template<class Kernel>
struct provides_exact_constructions
{
public:
static const bool value = !(std::is_floating_point<typename
Kernel::RT>::value);
};
But shouldn't there be a more systematic approach? What if I need to
know whether or not the kernel provides exact predicates (which the
Cartesian<double> kernel for example does not)?
There exists a tag Has_filtered_predicates which might help you
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Kernel_23_ref/Concept_Kernel.html
Note that it does not exactly answer your question but for kernels provided by CGAL and using floating point number type it will work.
Sebastien.
- [cgal-discuss] Kernel traits to distinguish kernel capability?, ax487, 09/03/2013
- Re: [cgal-discuss] Kernel traits to distinguish kernel capability?, Sebastien Loriot (GeometryFactory), 09/03/2013
- Re: [cgal-discuss] Kernel traits to distinguish kernel capability?, ax487, 09/03/2013
- Re: [cgal-discuss] Kernel traits to distinguish kernel capability?, Sebastien Loriot (GeometryFactory), 09/04/2013
- Re: [cgal-discuss] Kernel traits to distinguish kernel capability?, ax487, 09/03/2013
- Re: [cgal-discuss] Kernel traits to distinguish kernel capability?, Mariette Yvinec, 09/05/2013
- Re: [cgal-discuss] Kernel traits to distinguish kernel capability?, Sebastien Loriot (GeometryFactory), 09/03/2013
Archive powered by MHonArc 2.6.18.