Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] pass vertex index when constructing alpha shape?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] pass vertex index when constructing alpha shape?


Chronological Thread 
  • From: Daniel Duque <>
  • To:
  • Subject: Re: [cgal-discuss] pass vertex index when constructing alpha shape?
  • Date: Fri, 26 Feb 2010 13:02:21 +0100
  • Organization: UPM

Hello,

> I have a number of points, with each having certain properties (like
> temperature, etc..).

Me too.

> I can add an index to my alpha shape as described by
> https://lists-sop.inria.fr/sympa/arc/cgal-discuss/2008-02/msg00157.html,

Hey, that's mine.

> but only after the alpha shape has been created. Therefore I kind of loose
> the information connected to each point. I need to recalculate the alpha
> shape several times in the changing arrangement of points.

Actually, if I recall correctly, you add the info _first_, onto the
triangulation. Then, when the alpha shape is built, it will still be there.

> Is it possible to construct the vertices in the alpha shape already with
> the index they have in my simulation?

I think that's the way. Consider carefully if you really need an index; in
simulation one would think one cannot live withouth them, but it turns out
(in
my experience) they are not so important. On has the iterators and
circulators. On the other hand, the temperature and other stuff, you have to
keep for sure.

Best,

Daniel
--
http://debin.etsin.upm.es/~daniel



Archive powered by MHonArc 2.6.16.

Top of Page