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: Thu, 7 Feb 2008 23:47:06 -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=J3bl1X9pEzwHJRkmEjbeHTeLmwmRsxgwTvbyTLGlBQTTpBemR2LrOhB3Zwm5hyvFQE2VZSNDtbbtkYLssacyCYEavyecJ0Lf5QcFMLOXxb5Vam/MlDs3wpTVljfwzk2SlkLsrkixiLJusVF+pHreRvze5eFAIB2Z0Txy2Ww4w2U=

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



Archive powered by MHonArc 2.6.16.

Top of Page