Subject: CGAL users discussion list
List archive
- From: Efi Fogel <>
- To:
- Subject: Re: [cgal-discuss] Line sweep example gives invalid results
- Date: Sat, 19 Jan 2013 13:02:36 +0200
I don't see the problem.
The forth argument of compute_intersection_points() indicates whether to report endpoints. By default the value of this argument is false. Thus, only 3 intersections are reported.On Sat, Jan 19, 2013 at 12:36 PM, kierans <> wrote:
Hi there,
I built CGAL-4.1 and managed to get the
Arrangement_on_surface2_example/sweep_line to build and run. Unfortunately
for me it gives total bogus results :( It gets the number of intersections
and their values wrong.
From my reading of the example it should find 5 intersections at the
following locations:
* (3,3)
* (3,5)
* (5,5)
* (8,8)
* (8,5)
When I debug the example I get the following output:
Found 3 intersection points:
-21/-7 -21/-7
-3/-1 -5/-1
-35/-7 -35/-7
I am running on windows 7, Microsoft Visual Studio VC++ 2010 Express
(32-bit), Boost 1.51 (32-bit) and CGAL-4.1. Any ideas on what's going on ?
Cheers,
Kieran
--
View this message in context: http://cgal-discuss.949826.n4.nabble.com/Line-sweep-example-gives-invalid-results-tp4656497.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
--
____ _ ____ _
/_____/_) o /__________ __ //
(____ ( ( ( (_/ (_/-(-'_(/
_/
/_____/_) o /__________ __ //
(____ ( ( ( (_/ (_/-(-'_(/
_/
- [cgal-discuss] Line sweep example gives invalid results, kierans, 01/19/2013
- Re: [cgal-discuss] Line sweep example gives invalid results, Efi Fogel, 01/19/2013
- [cgal-discuss] Re: Line sweep example gives invalid results, kierans, 01/19/2013
- Re: [cgal-discuss] Re: Line sweep example gives invalid results, Kieran Shanley, 01/19/2013
- [cgal-discuss] Re: Line sweep example gives invalid results, kierans, 01/19/2013
- Re: [cgal-discuss] Re: Line sweep example gives invalid results, Kieran Shanley, 01/19/2013
- [cgal-discuss] Re: Line sweep example gives invalid results, kierans, 01/19/2013
- Re: [cgal-discuss] Line sweep example gives invalid results, Efi Fogel, 01/19/2013
Archive powered by MHonArc 2.6.18.