Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] 2D arrangements comparison

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] 2D arrangements comparison


Chronological Thread 
  • From: Efi Fogel <>
  • To:
  • Subject: Re: [cgal-discuss] 2D arrangements comparison
  • Date: Thu, 8 Jun 2017 09:21:44 +0300
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:zDbnPxHTjRsTQk1Y5lzYaJ1GYnF86YWxBRYc798ds5kLTJ78pciwAkXT6L1XgUPTWs2DsrQf2rWQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbQhFgDiwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VDK/5KlpVRDokj8KODw38G/XhMJ+j79Vrgy9qBFk2YHYfJuYOeBicq/Bf94XQ3dKUMZLVyxGB4Oxd4QBD+QAPe1Fr4f9oFQOogW6BQKxA+7g1DFIhn743a093OQuDwXG0RcvH9ILqnvUrdH1OL0OXuCyyanF1DPOZO5Y1zf67YjHaBEhofeUUL1sfsre000vGxnCjlWKpozoOS6e2OcVs2WD8eZsSeaih3QkpgxxuDSj2Nogh4jTio4IyV3I6yN0y5svK9KiUk50e9ukHYNQty6EM4t2RdsvQ2RytyY7zr0KoIe7fDQWxJg+yR7Tdv+Kf5aS7hLsU+aRJjh4hHZ7d76lmxmy9k2gxvX9VsmyzllKsjJInsfQun0JzRDe6ciKRuFj8ku82DuDzR3f5+JaLUwskKrUMZ8hwro+lpoJtkTDGzf7l1v4jK+XeEUk/eeo5PrjYrj9qZ+cMpV7igD6Mqg0hsO/BuE4PhAUX2eH4eS8yKHj/UrhTbpWgf05iK3ZvInHKsQava62HxJV0p046xukFDen0NEYnWEdI15feRKHiZLpO1DUL/ziA/e/mQfkrDA+zP/POvjtA47GM2PYuLbnZ7d0rUBGmyQpytUKypxVQp8GL//3Ehv8ut3WCRA0NyS7xu/mDJN20YZICjHHObOQLK6H6QzA3ekoOeTZPII=

I suggest that you construct an arrangement-with-history and traverse its cells.

   ____  _        ____             _
  /_____/_) o    /__________  __  //
 (____ (   (    (    (_/ (_/-(-'_(/
                         _/



On 7 June 2017 at 17:25, Maxim Torgonskiy <> wrote:
Hello,

I need to verify whether two 2D curves 1) don't intersect, or 2) intersect, or 3) one contains another. The curves contain straight line segments and arc segments. I've found an overlay function in Arrangement_2 [1] which cover all the three cases. The problem is to verify whether the output arrangement is equal to one of the input arrangements. Is there any method to do the check? I've found only [2] equality operator in the code but it seems that it is not what I'm looking for. 

An example of input curves : c1 = (-1,0) -> (0,0) -> (0,1) -> (0,2) -> (2,1) ; c2 = (0,0.5) -> (0,1.5)

Thanks,
Maxim





Archive powered by MHonArc 2.6.18.

Top of Page