Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] cannot find an arrangement

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] cannot find an arrangement


Chronological Thread 
  • From: Efi Fogel <>
  • To:
  • Subject: Re: [cgal-discuss] cannot find an arrangement
  • Date: Thu, 19 Dec 2013 19:07:23 +0200

You must use an exact-predicate exact-construction kernel.
Are you?

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




On Thu, Dec 19, 2013 at 2:50 PM, hasadi <> wrote:
Hi,

I try to use Arrangement part of the code. It seems to work properly,
however, for the the following example it cannot find correct arrangement.

here are the data which I add to the CGAL
example/arrangement_on_surface/face_extenstion.cpp

  Segment_2      s_1 (Point_2(1.5375, 0.83125), Point_2(1.575, 0.6625));
  Segment_2      s_2 (Point_2(1.5375, 0.83125), Point_2(1.2875, 0.70625));
  Segment_2      s_3 (Point_2(1.575, 0.6625), Point_2(1.2875, 0.70625));
  Segment_2      s_4 (Point_2(1.43526, 0.780128), Point_2(1.45,0.73));
  Segment_2      s_5 (Point_2(1.45,0.73), Point_2(1.47624, 0.677529));
  Segment_2      s_6 (Point_2(1.30709, 0.716047), Point_2(1.3011, 0.70418));

the fist three segment are the coordinate of a triangle, and the rest are
the intersections with triangle boundaries.
below image show the position of the segments.

it worth to mention that all of the intersection also found by CGAL library.

<http://cgal-discuss.949826.n4.nabble.com/file/n4658571/drawing.png>

any help would be appreciated.

Thanks,
Hosein



--
View this message in context: http://cgal-discuss.949826.n4.nabble.com/cannot-find-an-arrangement-tp4658571.html
Sent from the cgal-discuss mailing list archive at Nabble.com.

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss






Archive powered by MHonArc 2.6.18.

Top of Page