Closed GoogleCodeExporter closed 9 years ago
Actually, t.dual(edge[0], p) is filling p.
So instead of:
print t.dual(edge[0], p)
you should do:
t.dual(edge[0], p)
print p
You are right that you can only get the circumcenters of faces.
The other dual functions are not provided because they are using
CGAL::Object which is problematic to wrap. If you really need it I can do it
but it
will be as inelegant as I did for AABB_tree package.
Original comment by sloriot...@gmail.com
on 23 Jan 2012 at 6:15
Thx for your help, I was hoping that the two signatures of the dual function
would return different results...
I would be very interested by the wrapping of CGAL::Object even it's not
elegant :) as I want to draw some voronoi graphs.
Original comment by francois...@gmail.com
on 24 Jan 2012 at 8:02
It should now be working.
try for example:
for edge in t.finite_edges():
print t.dual(edge).is_Ray_2()
I did not try on windows. Can someone confirm it's OK on windows?
Original comment by sloriot...@gmail.com
on 24 Jan 2012 at 2:47
I tried it on a mac and everything works! thx for your precious help.
Original comment by francois...@gmail.com
on 25 Jan 2012 at 11:01
Original issue reported on code.google.com by
francois...@gmail.com
on 23 Jan 2012 at 5:47