Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: Line sweep example gives invalid results

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: Line sweep example gives invalid results


Chronological Thread 
  • From: kierans <>
  • To:
  • Subject: [cgal-discuss] Re: Line sweep example gives invalid results
  • Date: Sat, 19 Jan 2013 03:35:27 -0800 (PST)

I experimented with the 4-th parameter to compute_intersection_points() and
set it to true.

I now get:

Found 9 intersection points:
1/1 1/1
1/1 5/1
3/1 1/1
-21/-7 -21/-7
-3/-1 -5/-1
3/1 8/1
-35/-7 -35/-7
8/1 5/1
8/1 8/1

I would have expected to get 5 points of intersection (the additional two
points at (8,8) and (8,5). What I get instead is all the endpoints of the 4
lines + the three original points of intersection.

Still haven't found a way to report the 5 points of intersection that I can
see working the example on paper.

Cheers,

Kieran



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Line-sweep-example-gives-invalid-results-tp4656497p4656501.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page