Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] error in using CGAL::grid_simplify_point_set

Subject: CGAL users discussion list

List archive

[cgal-discuss] error in using CGAL::grid_simplify_point_set


Chronological Thread 
  • From: tina rumi <>
  • To:
  • Subject: [cgal-discuss] error in using CGAL::grid_simplify_point_set
  • Date: Tue, 8 Dec 2009 12:22:23 -0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=TtxPhSPMGTOkAxLucYEBtS5SPAuqR1cw7Fi8ig257Gisk4nveQJljR2TRXUtS5hRPg SpaawA7A9FAizD90aGKdVaAaMwdmpR1rkPDP97861R0Fc5MURrX7ZNLFlvbfQTsIXNpb W1xDGN40k0fxVyjHc8mjNuYcLAcuFNob/hT+s=

Hi all,

I am trying to use following function:

points.erase(CGAL::grid_simplify_point_set(points.begin(), points.end(), cell_size),
               points.end());



the type that I am using for points is :

// types
typedef CGAL::Exact_predicates_inexact_constructions_kernel Kernel;
typedef Kernel::Point_3 Point;
typedef Kernel::Vector_3 Vector;

// Point with normal vector stored in a std::pair.
typedef std::pair<Point, Vector> PointVectorPair;

std::list<PointVectorPair> points;

but it caused error. I want to keep this type for points. Do you have any suggestion to fix it.

Thank you,
Tina



Archive powered by MHonArc 2.6.16.

Top of Page