Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] dD Spatial Searching using arbitrary keys
- Date: Tue, 10 May 2016 09:42:06 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:S5jgrxPnRBxH1wV+YjEl6mtUPXoX/o7sNwtQ0KIMzox0KPT7rarrMEGX3/hxlliBBdydsKIVzbON+Pm6BCQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3DwdpPOO9QteU1JTmkbnpsMSJPk1hv3mUX/BbFF2OtwLft80b08NJC50a7V/3mEZOYPlc3mhyJFiezF7W78a0+4N/oWwL46pyv/hpC/SnOvxoBfwFVHV1e1wyscbkvB2GQQqU7WYHSU0XlABJCk7L9kLURJD052HBu+B0wzWbMMu+abcuWDO+p+dERRjthTsdJhAw+33QkN0xxuoPuxamvR1438jRZKmaMfN/euXWetZMFjkJZdpYSyEUWtD0VIAIFedUYL5V
- Organization: GeometryFactory
Do you have a minimal compilable example showing what you tried and did not work?
Sebastien.
On 05/10/2016 01:03 AM, developer wrote:
I am attempting to use the dD spatial searching module using the example code
in section 3.6.3 (v4.8) as a starting point:
http://doc.cgal.org/latest/Spatial_searching/Spatial_searching_2searching_with_point_with_info_pmap_8cpp-example.html
The data set I'm working with has point ID's (the map key) that do not start
at zero and are not continuous. However the K_neighbor_search function
outputs incorrect results for a std::map with integer keys that non
continuous and/or do not start at zero.
How can I use arbitrary integer keys with the K_neighbor_search function? Is
the only way to create two maps, one with continuous keys for use in the
K_neighbor_search and a second to act as a lookup table for the actual point
ID's?
Thanks,
Michael
- [cgal-discuss] dD Spatial Searching using arbitrary keys, developer, 05/10/2016
- Re: [cgal-discuss] dD Spatial Searching using arbitrary keys, Sebastien Loriot (GeometryFactory), 05/10/2016
- Re: [cgal-discuss] dD Spatial Searching using arbitrary keys, developer, 05/10/2016
- Re: [cgal-discuss] dD Spatial Searching using arbitrary keys, Sebastien Loriot (GeometryFactory), 05/10/2016
- Re: [cgal-discuss] dD Spatial Searching using arbitrary keys, developer, 05/10/2016
- Re: [cgal-discuss] dD Spatial Searching using arbitrary keys, Sebastien Loriot (GeometryFactory), 05/10/2016
Archive powered by MHonArc 2.6.18.