Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] cGAL::join

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] cGAL::join


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] cGAL::join
  • Date: Mon, 31 Jan 2011 09:53:21 +0100

sara123 wrote:
join operation on these folowing polygons gave me run time error!!!!

A: (4,0 ) (4.3,1.09 ) (2,0.5) (0.5,1) (-0.5,2.5) (-2,-0.5) (0,-2) (3,-1)

B: (-0.5,2.5) (-2,-0.5) (0,-2) (2.62,-1.125) (0.5,1)

Polygon_set_2 S;
std::vector<Polygon_2>::iterator mit;
std::vector<Polygon_2> pol_vector

S.join(pol_vector.begin(),pol_vector.end());

my polygons are stored in Pol_vector.
Please provide a minimal complete example showing the problem.

S.



Archive powered by MHonArc 2.6.16.

Top of Page