Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] vertex methods problem

Subject: CGAL users discussion list

List archive

[cgal-discuss] vertex methods problem


Chronological Thread 
  • From: Sterpa <>
  • To:
  • Subject: [cgal-discuss] vertex methods problem
  • Date: Sat, 26 Sep 2009 15:28:55 +0200 (CEST)

I'm trying to do this

if(!e.vertex().boundary_in_x()) { ... }

and I get this error:

/usr/local/include/CGAL/Arrangement_on_surface_2.h: In function ‘int
getLevel(Halfedge, std::vector<CGAL::Line_2<CGAL::Simple_cartesian<double> >,
std::allocator<CGAL::Line_2<CGAL::Simple_cartesian<double> > > >)’:
/usr/local/include/CGAL/Arrangement_on_surface_2.h:736: error: ‘typename
TopTraits_::Dcel::Vertex* CGAL::Arrangement_on_surface_2<GeomTraits_,
TopTraits_>::Halfedge::vertex() [with GeomTraits_ =
CGAL::Arr_linear_traits_2<CGAL::Simple_cartesian<double> >, TopTraits_ =
CGAL::Arr_unb_planar_topology_traits_2<CGAL::Arr_linear_traits_2<CGAL::Simple_cartesian<double>
>,
CGAL::Arr_default_dcel<CGAL::Arr_linear_traits_2<CGAL::Simple_cartesian<double>
> > >]’ is private
arrangement.cpp:214: error: within this context
arrangement.cpp:214: error: request for member ‘boundary_in_x’ in
‘e.CGAL::Arrangement_on_surface_2<GeomTraits_, TopTraits_>::Halfedge::vertex
[with GeomTraits_ = CGAL::Arr_linear_traits_2<CGAL::Simple_cartesian<double>
>,
TopTraits_ =
CGAL::Arr_unb_planar_topology_traits_2<CGAL::Arr_linear_traits_2<CGAL::Simple_cartesian<double>
>,
CGAL::Arr_default_dcel<CGAL::Arr_linear_traits_2<CGAL::Simple_cartesian<double>
> > >]()’, which is of non-class type
‘CGAL::Arr_vertex<CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Simple_cartesian<double>
> >,
CGAL::Arr_halfedge_base<CGAL::Arr_linear_object_2<CGAL::Simple_cartesian<double>
> >, CGAL::Arr_face_base>*’
make: *** [arrangement.o] Error 1

Does anybody know a way to solve this issue?


Archive powered by MHonArc 2.6.16.

Top of Page