Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Edge/Facet Iterator

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Edge/Facet Iterator


Chronological Thread 
  • From: Dennis Endt <>
  • To:
  • Subject: Re: [cgal-discuss] Edge/Facet Iterator
  • Date: Mon, 13 Oct 2008 19:59:15 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=E0lNtLPNbs/F1ftLNxEmMnnvbiDnrtlHrV6xwqSp3tCIHiZjxt+PbCvD3CtqG2gSqR k8l4V+Rejotq0m4sfIsxYYnZ5jpk4VjElG8l1PP/S5MBMaamPfGcCYNxRxBUxr+l+3c2 lpHtVUA3R7EChbLKqIi766P9llwhDav9eFogk=

Hi,

I already study the manual but I didn`t find a solution.

Here is what I know:

Finite_vertices_iterator iv:
(*iv).point() to get a point

Finite_facets_iterator it:
it->first->vertex(i)->point() to get a point

Finite_edges_iterator ie:
Nothing found: I tried ie->second.point() and sth different like this.

But what is the right one?

Best,
Dennis


Monique Teillaud schrieb:
> Hi,
>
> I saw several answers to your previous questions on this list already.
> There was at least one other similar question asked in parallel, which
> was answered too.
>
> Somebody told you already how to get a point from a vertex or a
> vertex_handle.
>
> There are typedefs in the manual for
> Edge: triple<cell_handle,int,int>
> Facet: pair<cell_handle,int>
>
> Everything is detailed in the reference manual of the 3d triangulation
> chapter (with links to the 3D triangulation data structure chapter
> when appropriate)
>
> Having a look at the manual would help *a lot*.
> Best,
> Monique
>
> Dennis Endt wrote:
>> Hi,
>>
>> I`ve a few questions and I hope anyone could help me soon.
>>
>> typedef CGAL::Simple_cartesian<double> SK;
>> typedef CGAL::Filtered_kernel<SK> FK;
>> struct K : public FK {};
>> typedef K::Point_3 Point_3;
>> typedef CGAL::Delaunay_triangulation_3<K> Triangulation;
>>
>> *Triangulation::Finite_edges_iterator*
>> How can I read out the points of an edge or the edge itself?
>> Is there any typedef for an edge regarding to the typedef for a point
>> above?
>>
>> *Triangulation::Finite_facets_iterator*
>> If there is any typedef for an edge, how can I read out the edges of a
>> facet?
>>
>> Best,
>> Dennis
>




Archive powered by MHonArc 2.6.16.

Top of Page