Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Kinetic Datastructures, Regular Triangulation 3, Static Updates with only static points

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Kinetic Datastructures, Regular Triangulation 3, Static Updates with only static points


Chronological Thread 
  • From: Daniel Russel <>
  • To:
  • Subject: Re: [cgal-discuss] Kinetic Datastructures, Regular Triangulation 3, Static Updates with only static points
  • Date: Fri, 10 Jul 2009 11:15:04 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:mime-version:subject :date:references:x-mailer; b=L8oTBH2ukAGbyzRIYg3DPzW+g+eo1vabXEz+YCGQOaIZktkOME3KuZGp54PUmxhDLT i+no1K9J1WvShsuSZeL7Q2ZL4LO1i+MC54WDlAS0KKinJtq7El0JdVaR+GuG1tTBM9c/ 6fa5i/a7fOIN/chiRLW4wIP//LRG0OFTjVJls=

Hi Timo--
The positions of objects need to be continuous for kinetic data structures to work, so what you proposed will not work. Various of us have worked on algorithms for updating delaunay and regular triangulations when the points move discontinuously but by small amounts, but so far nothing has made it into CGAL. You can find some discussion of the problem in my thesis <http://salilab.org/~drussel/daniel_russel_thesis.pdf>. Pedro has some more recent tech reports on the subject <[inria-00344053, v1] Delaunay Triangulations for Moving Points> and <[inria-00325816, v1] State of the Art: Updating Delaunay ...> which I haven't read yet.
               --Daniel


On Jul 9, 2009, at 5:02 AM, Timo Strunk wrote:

Hi everybody,

Currently I am trying to use the Regular Triangulation 3 class from the Kinetic Data Structures package.
The examples show a usage for points with a continuous trajectory, which are read in using a stream directly from a file.

The main difference to my problem is that I have no continuous movement, but rather static snapshots, which however resemble themselves to a high degree: I don't have a continuous time. My biggest hope was therefore to use the Kinetic RT class in a way, where I can prepare the coordinates by hand each step and just tell it to afterwards recalculate.

I didn't find this in the manual - is it possible? Here is how I would try to do it:

First of all, I will set is_editing to true

Into the active objects table, I would insert:
Traits::Static_kernel::Weighted_point_3 Weighted_point
instead of
Traits::Kinetic_kernel::Weighted_point_3 Weighted_point
via mot.insert (my_static_weighted_point), where mot is an Active Objects Table
(documented here - the documentation is a bit off, because it is insert instead of insert_object, right?):
http://www.cgal.org/Manual/3.4/doc_html/cgal_manual/Kinetic_framework_ref/Concept_Kinetic--ActiveObjectsTable.html#Cross_link_anchor_1576

Then I will set is_editing to false, so the triangulation gets created.

Now whenever points moved, I would set is_editing again, afterwards use mot.set(point_key, data) to the new location of the point and turn off is_editing. The main reason why I write now is that I think there is some flaw in my logic, because of the description of the set function )also from the url above):

"This method changes the motion of one moving object. The position at the current time should not be different from the previous current position. However, at the moment I do not check this as there is no reference to time in the /Kinetic::ActiveObjectsTable <http://www.cgal.org/Manual/3.4/doc_html/cgal_manual/Kinetic_framework_ref/Concept_Kinetic--ActiveObjectsTable.html#Cross_link_anchor_1576>/. If /is_editing()/ is not true, then it is as if the calls /set_is_editing(true)/, /set(key, value)/ and finally /set_is_editing(false)/ were made. If it is true, then no notifications are created. "

Would this work? In the end I am completely missing the time as it was never set, therefore the positions at the same time would also move.

Sorry for the long mail; I'd just like to know, if this is even possible with the current (as it seems continuous) Kinetic RT3 package or not.

Thanks for reading,
Timo

--
Timo Strunk

Forschungszentrum Karlsruhe
Institut für Nanotechnologie
Gebäude 640
Hermann-von-Helmholtz-Platz 1
D-76344 Eggenstein-Leopoldshafen

Tel: +49 7247 828954

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss




Archive powered by MHonArc 2.6.16.

Top of Page