Subject: CGAL users discussion list
List archive
- From: Hanjoerg Seybold <>
- To:
- Subject: Re: [cgal-discuss] halfedge to ray
- Date: Sat, 18 Oct 2008 08:07:24 -0300
Hello!
Thank you very much for the answer. For a segment this is indeed possible, but what is the case if the halfedge is a ray? Even if target()->point() would return infinity the direction fo the ray is not well defined anymore,
but the halfedge direction is well defined in the sense that it is e.g. the dual of a delaunay edge.
Thansk hj
Olivier Devillers writes:
Halfedge_around_vertex_circulator cit,
i can check with cit->is_ray() and cit->is_segment() if the halfedge si finite or infinite, but how can i make a ray out of a infinite halfedge in the sense that i can intersect it with another ray or segment.
from the manual, it seems that cit->target()->point() and cit->source()->point()
return the end points of your segment.
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
- [cgal-discuss], Hanjoerg Seybold, 10/18/2008
- Re: [cgal-discuss], Olivier Devillers, 10/18/2008
- Re: [cgal-discuss] halfedge to ray, Hanjoerg Seybold, 10/18/2008
- Re: [cgal-discuss], Olivier Devillers, 10/18/2008
Archive powered by MHonArc 2.6.16.