Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] some further questions on convex hull

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] some further questions on convex hull


Chronological Thread 
  • From: Pratyush Pranav <>
  • To:
  • Subject: Re: [cgal-discuss] some further questions on convex hull
  • Date: Thu, 14 Apr 2016 00:12:02 +0300
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:D1+ZWhZjmyI+I1Po4DsOszH/LSx+4OfEezUN459isYplN5qZpci5bnLW6fgltlLVR4KTs6sC0LqG9f27EjVduN6oizMrTt9lb1c9k8IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUiv2OQc9HOnpAIma153xjLDivcCIKFwV3XKUWvBbElaflU3prM4YgI9veO4a6yDihT92QdlQ3n5iPlmJnhzxtY+a9Z9n9DlM6bp6r5YTGfayQ6NtRrNRCHEqMns++dbwnRjFVwqGoHUGAUsMlR8dOxLM8ADnRZe5ijHzsONjkH2CJ8TqXK0mVByt6q5qTFnjjyJRZG1xy33elsEl1PETmxmmvREqm4M=

i have been doing something and getting somewhere…working with the triangulation did not give me the right thing…so i switched over to the convex hull computed from the triangulation. i have one more question though.

is there a way to extract the incident facets on a vertex?

am i right if i say that i find the incident half edge to a vertex, from that half edge get a handle to the incident facet? does every half edge have a unique facet that it points to?

given a half edge handle, what is the proper way to extract the incident facet handle to it?


On 11 Apr 2016, at 16:06, Pratyush Pranav <> wrote:

yes i get it a bit…been playing around with things for a while…but now stuck a bit at the proper usage of circulators.

my problem is the following :

first i want to iterate over all the incident edges to a vertex. then for each edge i want to determine if it is on the convex hull. for this, I want to circulate over all the incident cells of an edge to determine if the edge is on the boundary of the hull (if one or more cells incident to the edge are infinite cells, the edge is on the hull).

how to do this? as i gather circulators do not behave in the same fashion as iterators.

it is roughly the same, except that there is no range associated.

i was reading on circulators, and saw that i could convert a circulator to a container and iterate over the contents of the container so i define it as follows

this looks uselessly complicated
why not just use the circulator in the simplest possible way, as in the example given here http://doc.cgal.org/latest/Circulator/index.html#title3 ?
there must also be an example in some triangulation chapter (if not 3d, then 2d)

--
Monique Teillaud 
http://www.loria.fr/~teillaud/ 
INRIA Nancy - Grand Est, LORIA 
Institut National de Recherche en Informatique et Automatique 





Archive powered by MHonArc 2.6.18.

Top of Page