Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Kinetic_data_structures... some questions

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Kinetic_data_structures... some questions


Chronological Thread 
  • From: Daniel Russel <>
  • To:
  • Subject: Re: [cgal-discuss] Kinetic_data_structures... some questions
  • Date: Fri, 8 Feb 2008 09:20:19 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=trQCycpGRZIhnfGCXlsjv6NuBkoNVp40nu53hGCFNh2w5O3CNa2iOlw0uPlTvDZjlCGEuxCY4/ii2YVo7fUy9JBajP+GO7ABj9QQy7DXcy08XUcjkbFsxHAqrbp5ZIy59w7koQw03vXa+RuMHjIvj1ongjWfWnDEJBxuPO0WjU8=

Those are just stationary points. They will work, but not be terribly interesting to watch :-) They are more interesting as inputs to the update_Delauany_trianglation_2.

On Feb 8, 2008, at 4:09 AM, Mahmood Naderan wrote:

Thank you,
How about "afterNNN" and "beforeNNN" formats in "CGAL-3.3.1\demo \Kinetic_data_structures\data"? For example, "after002":

0 0
261.556 368.49
355.421 321.043
258.829 257.795
296.059 374.507
335.804 340.896
276.11 389.494
317.786 278.038
298.064 258.447
245.414 349.746
336.665 298.648
600 600
225.064 293.26
316.217 358.874
276.658 239.092
0 600
225.965 333.489
208.967 313.376
242.246 275.883
600 0

-------------------
Mahmood Naderan
http://ce.sharif.edu/~m_naderan







----- Original Message ----
From: Daniel Russel
<>
To:

Sent: Friday, February 8, 2008 11:17:06 AM
Subject: Re: [cgal-discuss] Kinetic_data_structures... some questions

Thanks for reply. But "CGAL_USE_BOOST_PROGRAM_OPTIONS" preprocessor
is not defined. During debugging, the program skips that section.
In that case set the "file" string variable at the start of main to
the name of the file. If that variable is empty it just generates some
points randomly. The file format is quite simple: a series of lines like
polynomial for x, polynomial for y
for example:
4301/1073+246/1073*t , -1341/2684+2842/5368*t
The polynomials can have higher degree and you can replace t by any
single letter as long as your are consistent within the polynomial.
See test/Kinetic_data_structures/data/Delaunay_triangulation_2.input
for an example.




----- Original Message ----
From: Daniel Russel
<>
To:

Sent: Thursday, February 7, 2008 8:19:31 PM
Subject: Re: [cgal-discuss] Kinetic_data_structures... some questions


On Feb 7, 2008, at 12:07 AM, Mahmood Naderan wrote:

Hello,
I cannot understand which file is used by "Kinetic_data_structures"
demo neither in CGAL 3.2 nor CGAL 3.3.1
std::string file;
...
return run<CGAL::Kinetic::Exact_simulation_traits>(argc, argv,
n,d,seed, file);
...
if (file.empty())
So which file? How can I change the input file?
Assuming you are talking about Delaunay_triangulation_2 it uses boost
program options to handle the command line arguments. So "./
Delaunay_triangulation_2 --help" tells you the command line argument
usage. The file name is just one of the arguments.


Also what changes appeared for this section in 3.3.1 in compared to
3.2? It there any changelog?
No important changes were made to the demos.

and another question is about manual. I did not find any guide in
cgal manual about the demo and related QT functions. Is it "Kinetic
framework" section?
The documentation of the display code could use some improvement, yes.
There are very minimal pages for the individual classes (look for
Kinetic::Qt... in the index). The code and interfaces are pretty
simple, so just looking at Delaunay_triangulation_2.cpp and the
Kinetic/IO/Qt*2.h files should give you a good idea. They don't have
many capabilities beyond what the demo does.
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss



____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss


____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
--
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