Skip to Content.
Sympa Menu

cgal-discuss - RE: [cgal-discuss] about calling the function point() through

Subject: CGAL users discussion list

List archive

RE: [cgal-discuss] about calling the function point() through


Chronological Thread 
  • From: Kwok Jasper <>
  • To: <>
  • Subject: RE: [cgal-discuss] about calling the function point() through
  • Date: Tue, 3 Feb 2009 22:01:41 +0800
  • Importance: Normal

Excuse me.


I have tried several ways to deal with the problem.
And I find out that may be it is related to the fact that I am using the following override class and therefore I cannot use v -> point() directly

template < class GT, class Vb = CGAL::Triangulation_vertex_base_3<GT> >
class Vertex_base_for_ssr
  : public Vb
{.....};



after I have modified the class Vertex_base_for_ssr such that it becom the following

template < class GT, class Vb = CGAL::Triangulation_vertex_base_3<GT> >
class Vertex_base_for_ssr
  : public Vb
{
     Point point()
    {
         return Vb::point()
    }

 //.....some other things here

};

now, with the above modified class "Vertex_base_for_ss",
the code can be compiled without any error.

But may I still here ask if I am using the things in CGAL correctly to achieve
the functionality of v -> point()  
i.e. to get  the point from its vertex handle

Thank you very much for your attention.



From:
To:
Date: Tue, 3 Feb 2009 21:12:49 +0800
Subject: [cgal-discuss] about calling the function point() through vertex handle

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

In the past, i can use v -> point() successfully,
but now, when I use v -> point(), the compile give me that error..

May I ask what is happening and what may I do  ?

Thank you very much




內在氣質才是致勝之道-您是哪一 最原始的溝通是用心的交流。

給我一個身份 We need a name!



Archive powered by MHonArc 2.6.16.

Top of Page