Subject: CGAL users discussion list
List archive
- From: ax487 <>
- To:
- Subject: [cgal-discuss] Kernel traits to distinguish kernel capability?
- Date: Tue, 03 Sep 2013 16:26:21 +0200
Hello all,
I am currently trying to make my algorithms work with different types of
kernels: Up to now I have only been working using a kernel providing
exact construction, now I am trying to write a correct implementation of
my algorithm on a kernel that only provides exact predicates and uses
floating point based construction. Clearly this requires some additional
work. I would like to avoid that additional work on kernels providing
exact construction. To this end I need a method to tell if a given
kernel provides exact construction. I am currently working using
#ifdef's, but instead I would like use templates in my classes and
functions. What I need is something like a static function
`Kernel::provides_exact_construction()' which I could call in a method
like `template <class Kernel> void calculate(...)'. I did not find
anything like that in the documentation so far, is there a method to
obtain the information from CGAL?
ax487
- [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.