Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Batched arrangment point location: which input point the query results refers to?

Subject: CGAL users discussion list

List archive

[cgal-discuss] Batched arrangment point location: which input point the query results refers to?


Chronological Thread 
  • From: "andrea.tagliasacchi" <>
  • To:
  • Subject: [cgal-discuss] Batched arrangment point location: which input point the query results refers to?
  • Date: Thu, 19 May 2011 11:02:15 -0700 (PDT)

Hello there, noob request:

I am currently employing the batched point location functions referenced
here:
http://www.cgal.org/Manual/3.3/doc_html/cgal_manual/Arrangement_2/Chapter_main.html#Subsection_20.3.3

My problem is that the "std::list<Point_2> query_points;" gets sorted
from CGAL, thus, I cannot understand which query point is associated to the
correspondent element in "std::list<Query_result> results"

This is what I tried. I extended Point_2, but the compiler asks me
for a missing Point_2_data( Point_2& p ) copy constructor, meaning
the "index" info will be lost while executing the "locate:
http://pastebin.com/GQ8LMdYB


What do you suggest to do?

Cheers
--
Andrea Tagliasacchi

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Batched-arrangment-point-location-which-input-point-the-query-results-refers-to-tp3536508p3536508.html
Sent from the cgal-discuss mailing list archive at Nabble.com.


  • [cgal-discuss] Batched arrangment point location: which input point the query results refers to?, andrea.tagliasacchi, 05/19/2011

Archive powered by MHonArc 2.6.16.

Top of Page