Subject: CGAL users discussion list
List archive
- From: Sylvain Pion <>
- To:
- Subject: Re: [cgal-discuss] Re: Hilbert Sort on a User Defined Point
- Date: Mon, 09 Aug 2010 22:20:32 +0200
Le 09/08/10 21:43, Derek a écrit :
Specifically,
I got as far as figuring out that I needed to implement a custom
SpatialSortingTraits_3 class. I implemented it with all of the required
functions, except I didn't know what to do for the Has Models section.
It says at the
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Spatial_sorting_ref/Concept_SpatialSortingTraits_3.html#Cross_link_anchor_1675
end of the page in the User Manual that SpatialSortingTraits_3 should have
any CGAL kernel. I don't know what to do for that part, so the code does not
compile.
There is nothing to do here. It says that CGAL kernels (e.g.
CGAL::Cartesian...)
aremodels of this concept.
Other than that, I just create a Hilbert_sort_3 object templatized to the
SpatialSortingTraits_3 class I created and use its function.
Compilation produces a bunch of template errors that narrow down to:
error: no match for ‘operator<’
Can you send the code of your traits class, and the complete error message ?
--
Sylvain
- [cgal-discuss] Hilbert Sort on a User Defined Point, Derek Basehore, 08/09/2010
- Re: [cgal-discuss] Hilbert Sort on a User Defined Point, Sylvain Pion, 08/09/2010
- [cgal-discuss] Re: Hilbert Sort on a User Defined Point, Derek, 08/09/2010
- Re: [cgal-discuss] Re: Hilbert Sort on a User Defined Point, Sylvain Pion, 08/09/2010
- [cgal-discuss] Re: Hilbert Sort on a User Defined Point, Derek, 08/10/2010
- Re: [cgal-discuss] Re: Hilbert Sort on a User Defined Point, Sylvain Pion, 08/10/2010
- Re: [cgal-discuss] Re: Hilbert Sort on a User Defined Point, Andreas Fabri, 08/10/2010
- [cgal-discuss] Re: Hilbert Sort on a User Defined Point, Derek, 08/10/2010
- Re: [cgal-discuss] Re: Hilbert Sort on a User Defined Point, Sylvain Pion, 08/10/2010
- [cgal-discuss] Re: Hilbert Sort on a User Defined Point, Derek, 08/10/2010
- Re: [cgal-discuss] Re: Hilbert Sort on a User Defined Point, Sylvain Pion, 08/09/2010
- [cgal-discuss] Re: Hilbert Sort on a User Defined Point, Derek, 08/09/2010
- Re: [cgal-discuss] Hilbert Sort on a User Defined Point, Sylvain Pion, 08/09/2010
Archive powered by MHonArc 2.6.16.