Subject: CGAL users discussion list
List archive
- From: Артур Юнусо <>
- To:
- Subject: Re: [cgal-discuss] dD Spatial Searching, sort points.
- Date: Mon, 01 Oct 2012 20:55:04 +0600
The last function argument doesn't allow to change *the way* how points are sorted.
01.10.2012 18:30, Sebastien Loriot (GeometryFactory) пишет:
On 09/20/2012 10:53 AM, aptypr wrote:
In the example for k neighbor searching I found thatAs documented in [1], the last function argument control whether the sequence of points need to be sorted.
CGAL::Orthogonal_k_neighbor_search return points, sorted by distance of
initial point, are there ways to sort point in process of searching? I want
to sort points by x, and if x are the same, by y. Right now I search k
neighbors, and sort them, which is expensive.
--
View this message in context: http://cgal-discuss.949826.n4.nabble.com/dD-Spatial-Searching-sort-points-tp4655879.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
Sebastien.
[1] http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Spatial_searching_ref/Class_Orthogonal_k_neighbor_search.html
- Re: [cgal-discuss] dD Spatial Searching, sort points., Sebastien Loriot (GeometryFactory), 10/01/2012
- Re: [cgal-discuss] dD Spatial Searching, sort points., Артур Юнусо, 10/01/2012
- Re: [cgal-discuss] dD Spatial Searching, sort points., Sebastien Loriot (GeometryFactory), 10/01/2012
- Re: [cgal-discuss] dD Spatial Searching, sort points., Артур Юнусо, 10/01/2012
Archive powered by MHonArc 2.6.18.