Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] hierarchy triangulation with point info

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] hierarchy triangulation with point info


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] hierarchy triangulation with point info
  • Date: Fri, 06 Jun 2014 13:46:58 +0200
  • Organization: GeometryFactory

On 06/06/2014 12:14 PM, ffmm3 wrote:
Hi, I am doing hierarchy triangulation with point info (e.g., point color, or
point index, etc.), and have some trouble. According the example given at
http://doc.cgal.org/latest/Triangulation_2/index.html
<http://doc.cgal.org/latest/Triangulation_2/index.html> named /Using an
Iterator Over Pairs/, my code is as following:

The error is:
*error C2664: 'CGAL::Point_3<R_>::Point_3(const CGAL::Origin &)' : cannot
convert parameter 1 from 'std::pair<_Ty1,_Ty2>' to 'const CGAL::Origin &'*

What is the problem? And what is the correct method to do this?


Could you show the typedef you are using?

Sebastien.



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/hierarchy-triangulation-with-point-info-tp4659408.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.18.

Top of Page