Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Check whether two polyhedron_3 are intersection

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Check whether two polyhedron_3 are intersection


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Check whether two polyhedron_3 are intersection
  • Date: Tue, 02 Apr 2013 07:13:26 +0200
  • Organization: GeometryFactory

On 04/01/2013 10:49 AM, sdg wrote:
Hi, thanks for your solution. I've tried the function
intersection_Polyhedron_3_Polyhedron_3, but my compiler always throws
"instantiated from here" on this function.

The code I used

typedef CGAL::Exact_predicates_exact_constructions_kernel Kernel;
typedef CGAL::Polyhedron_3<Kernel> Polyhedron;
typedef Kernel::Point_3 Point_3;

std::vector<Point_3> polyline;
std::list< std::vector<Point_3> > polylines;


CGAL::intersection_Polyhedron_3_Polyhedron_3(poly1, poly2,
std::back_inserter(polyline));
> std::back_inserter(polylines));


Sebastien.

std::cout<<polyline.size()<<std::endl;

What could be wrong?



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Check-whether-two-polyhedron-3-are-intersection-tp4657064p4657093.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.18.

Top of Page