Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] vertex methods problem


Chronological Thread 
  • From:
  • To:
  • Subject: Re: [cgal-discuss] vertex methods problem
  • Date: Sat, 26 Sep 2009 17:15:09 +0300

Quoting Sterpa
<>:

I'm trying to do this

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

The method is called parameter_space_in_x (). Besides, it's a bit surprising that you are using the "." operator and not the '->' operator.


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?--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss






Archive powered by MHonArc 2.6.16.

Top of Page