Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] about calling the function point() through vertex handle

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] about calling the function point() through vertex handle


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] about calling the function point() through vertex handle
  • Date: Tue, 3 Feb 2009 18:37:11 +0100
  • Organization: GeometryFactory

On Tuesday 03 February 2009 14:12:49 Kwok Jasper wrote:
> Excuse me.
>
> I have used the following in CGAL
>
> typedef CGAL::Delaunay_triangulation_3<K1> Triangulations;
> typedef Triangulations::Vertex Vertex;
> typedef Triangulations::Vertex_handle Vertex_handle;
>
> when I have a vertex handle, say v.
> I use the following line of code
>
> v -> point()
>
> However, the compile gives me the following
>
> term does not evaluate to a function taking 0 arguments

What is your compiler? With the code sample you gave v->point() should be a
valid expression of type Vertex_handle. That is the usual way (and probably
also the only way) to retrieve a point from a vertex handle.

--
Laurent Rineau, PhD
Engineer at GeometryFactory
http://www.geometryfactory.com/




Archive powered by MHonArc 2.6.16.

Top of Page