Subject: CGAL users discussion list
List archive
- From: Philipp Moeller <>
- To:
- Cc:
- Subject: Re: [cgal-discuss] Patch proposal: AABB_traits.h
- Date: Sat, 03 Nov 2012 20:12:17 +0100
- Organization: GeometryFactory
Sebastian Hegler
<>
writes:
> Hello!
>
> The attached patch exposes the GeomTraits of the AABB_traits class, which
> is basically the CGAL kernel type used for the instantiation, by using a
> public typedef.
> This one-liner makes my work a lot easier. If you find it worthy, feel free
> to include it in the CGAL library.
Technically you would need to add a getter, too. But AABB_traits doesn't
handle stateful traits anyway so it this is pointless. In turn all of
this would need to end up in the AABBTraits concept to be of some actual
use and this would limit all other implementations too far, IMO.
In general: I don't see why AABB_tree even requires that the primitive
type and the traits class are packaged up into a single traits class...
Cheers,
Philipp
- [cgal-discuss] Patch proposal: AABB_traits.h, Sebastian Hegler, 11/03/2012
- Re: [cgal-discuss] Patch proposal: AABB_traits.h, Philipp Moeller, 11/03/2012
- Re: [cgal-discuss] Patch proposal: AABB_traits.h, Sebastien Loriot (GeometryFactory), 11/08/2012
Archive powered by MHonArc 2.6.18.