Subject: CGAL users discussion list
List archive
- From: Mahmood Naderan <>
- To:
- Subject: Re: [cgal-discuss] Kinetic_data_structures... some questions
- Date: Sat, 9 Feb 2008 03:47:20 -0800 (PST)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=G1z8Xm/e4qkI3/kwb6Xg9jKFYYnsf9qPD4i9vBjNyhxbV8RHm1tbM8okbgycLKP0oFKUTxJA8uFZoLQSSM4SZD0gWXS/ttq0SLJqn76GRBMpFLieouxy8ngive4qqUMbh6wxICgP48Pa7uo7B0Lc3zRFyqSiblVNArhG762aG0U=;
I think I found answers to some of my previous questions :)
Thanks,
-------------------
Mahmood Naderan
http://ce.sharif.edu/~m_naderan
----- Original Message ----
From: Mahmood Naderan
<>
To:
Sent: Saturday, February 9, 2008 12:03:22 PM
Subject: Re: [cgal-discuss] Kinetic_data_structures... some questions
Sorry for asking again...
What does "Traits::Kinetic_kernel::Motion_function" do? What I understand
from code is that, if there is no file, some random points are generated then
these random point define the trajectory and points move. Right?
next I create a file with these:
+7/2*t
3/1
2/1+1/1*t-1/1*t^2
1/1+3/1*t-3/1*t^2
so file is not empty, but what is the meaning of:
Traits::Kinetic_kernel::Point_2 p;
il >> p;
tr.active_points_2_table_handle()->insert(p);
Why didn't you use motion_function again? How that parametric equation turn
to points?
I run the second case (that equations as a file), but the output was a single
point in the center of the page with no movement. I want to define a
trajectory and a (or some) point(s) then these points move along that
trajectory.
Another question is that what is the relation between number of points and
number of trajectories?
Thanks,
-------------------
Mahmood Naderan
http://ce.sharif.edu/~m_naderan
----- Original Message ----
From: Daniel Russel
<>
To:
Sent: Friday, February 8, 2008 8:50:19 PM
Subject: Re: [cgal-discuss] Kinetic_data_structures... some questions
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
--
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
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
- Re: [cgal-discuss] Kinetic_data_structures... some questions, Mahmood Naderan, 02/08/2008
- Re: [cgal-discuss] Kinetic_data_structures... some questions, Daniel Russel, 02/08/2008
- <Possible follow-up(s)>
- Re: [cgal-discuss] Kinetic_data_structures... some questions, Mahmood Naderan, 02/08/2008
- [cgal-discuss][Polyhedron] Integrate several Off models into one single model, Max, 02/08/2008
- Re: [cgal-discuss] Kinetic_data_structures... some questions, Daniel Russel, 02/08/2008
- Re: [cgal-discuss] Kinetic_data_structures... some questions, Mahmood Naderan, 02/09/2008
- Re: [cgal-discuss] Kinetic_data_structures... some questions, Mahmood Naderan, 02/09/2008
Archive powered by MHonArc 2.6.16.