Subject: CGAL users discussion list
List archive
- From: lloyd <>
- To:
- Subject: Re: [cgal-discuss] Merge polylines
- Date: Wed, 26 Aug 2015 07:02:47 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
- Importance: normal
- Ironport-phdr: 9a23:jPRMHh/IpabH0v9uRHKM819IXTAuvvDOBiVQ1KB80uocTK2v8tzYMVDF4r011RmSDd6dtaoP27aempujcFJDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXsq3G/pQQfBg/4fVIsYL+lQciM14/ni6ibwN76XUZhvHKFe7R8LRG7/036l/I9ps9cEJs30QbDuXBSeu5blitCLFOXmAvgtI/rpMYwuyVWsPU77cNLTe2uf7g9SeoQED0peyBvvIy4/STFVhaFs3sATn0NwF0PGBnA9Bi8X5HrsyK8uPA6wzifJcSxTLY6XnOp4K5vDRPpkywaLCVqzGaCgcN5iOdXoQmqugdk64/SeoCccvRkLY3HetZPQW5GT8oZAyhFBZKwR4oTDvFHMPpYvc/2pw1d/lOFGQCwCba3mXdzjXjs0Phgi+k=
Hi Laurent
Thanks for the clarification.
I was starting to guess that they must be split. I started implementing it via line circle intersections, where the circle area is at the end point of an(other) edge. Snapping allows merging the lines with a tolerance.
Bryn
Von Samsung Mobile gesendet
-------- Original message --------
From: "Laurent Rineau (CGAL/GeometryFactory)"
Date:25/08/2015 21:23 (GMT+01:00)
To:
Subject: Re: [cgal-discuss] Merge polylines
Le lundi 24 août 2015 14:05:05 Bryn Lloyd a écrit :
> Dear Sebastien
>
> I attached the surface and polylines as code sample (C-arrays), but can
> also provide other formats if that is easier for you.
>
> Thanks & best regards
Hi Bryn,
I know what is wrong in that input data.
At the points (29, -39, 0), (29, -39, 18), there are two line segments that
pass through those points in their interior. You must split those two line
segments so that in the end the polylines (here, only line segments) only
intersect at their extremities.
Otherwise, the polylines appear as non-adjacent combinatorially, whereas they
intersect geometrically. And the 1D mesher of CGAL Mesh_3 tries to separate
the non-adjacent polylines, and cannot do that because they cannot be
separated geometrically.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- Re: [cgal-discuss] Merge polylines, lloyd, 08/26/2015
- Re: [cgal-discuss] Merge polylines, Bryn Lloyd, 08/26/2015
- Re: [cgal-discuss] Merge polylines, Bryn Lloyd, 08/26/2015
- Re: [cgal-discuss] Merge polylines, Bryn Lloyd, 08/26/2015
Archive powered by MHonArc 2.6.18.