Skip to Content.
Sympa Menu

cgal-discuss - Re: Re: [cgal-discuss] simple transformation on Mesh_3 vertices

Subject: CGAL users discussion list

List archive

Re: Re: [cgal-discuss] simple transformation on Mesh_3 vertices


Chronological Thread 
  • From: Hamid G <>
  • To:
  • Subject: Re: Re: [cgal-discuss] simple transformation on Mesh_3 vertices
  • Date: Tue, 15 Nov 2011 22:57:38 -0500

Thanks for both detailed responses!

On Tue, Nov 15, 2011 at 5:04 AM, Laurent Rineau (GeometryFactory)
<>
wrote:
> Le mardi 15 novembre 2011 04:36:47 Hamid G a écrit :
>
>> On Tue, Nov 15, 2011 at 3:56 AM, Sebastien Loriot (GeometryFactory)
>
>>
>
>> <>
>> wrote:
>
>> > Use for_each instead.
>
>>
>
>> Thanks,
>
>>
>
>> Just to clarify this in my head,
>
>> itv=c3t3.triangulation().finite_vertices_begin() is an iterator which
>
>> upon dereferencing returns a pointer to a vertex ? hence the double
>
>> .point() in
>
>> itv->point().point()+K::Vector_3(x0,y0,z0)
>
>>
>
>> I guess that double .point() is confusing me.
>
>
>
> If itv=c3t3.triangulation().finite_vertices_begin(), then itv is an iterator
> over the finite vertices of the regular triangulation. In regular
> triangulations, the point type is a CGAL::Weighted_point<K::Point_3>.
>
>
>
> See:
>
> http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Triangulation_2_ref/Class_Weighted_point.html
>
>
>
> So itv->point() is a CGAL::Weighted_point<K::Point_3> and
> itv->point().point() is a K::Point_3, where K is the used kernel.
>
>
>
> --
>
> Laurent Rineau, PhD
>
> R&D Engineer at GeometryFactory http://www.geometryfactory.com/
>
> Release Manager of the CGAL Project http://www.cgal.org/
>
>



Archive powered by MHonArc 2.6.16.

Top of Page