Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: [Arrangement_2] Hiding X-Monotone Curve Cut ?

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: [Arrangement_2] Hiding X-Monotone Curve Cut ?


Chronological Thread 
  • From: Tapadi <>
  • To:
  • Subject: [cgal-discuss] Re: [Arrangement_2] Hiding X-Monotone Curve Cut ?
  • Date: Sat, 9 Mar 2013 08:12:02 -0800 (PST)

Hi again,

I think I'm missing something about "using segments". My traits class is:
CGAL::Arr_polyline_traits_2<CGAL::Arr_segment_traits_2&lt;Kernel> >

I have switched to an exact kernel, as you adviced me here and in another
topic. This solved the problem of vertex duplication, but the polylines are
still being cut into x-monotone subcurves (that I suppose to be the normal
behavior). My question was: Is there a way to retrieve the complete polyline
(besides potential intersection points), without x-monotonization cuts?

There is a basic example of what I want with an attached image: I create an
arrangement (with exact kernel and polyline traits), and I insert only one
curve into it.

<http://cgal-discuss.949826.n4.nabble.com/file/n4656876/test_cgal_circle_polyline.png>


The final arrangement has 3 vertices and 2 edges, as expected. But I would
like to retrieve the total curve at once, ignoring the middle vertex which
is due to a x-monotonization cut. Is it possible without associating custom
data to the arrangement's edges?

Thanks for your answers, by the way!
Best regards,
Hugo Loi
PhD student at Inria - Maverick Team
http://maverick.inria.fr/



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Arrangement-2-Hiding-X-Monotone-Curve-Cut-tp4656856p4656876.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page