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: Marco Aurelio Sterpa <>
  • To:
  • Subject: Re: [cgal-discuss] vertex methods problem
  • Date: Sat, 26 Sep 2009 16:17:45 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=wH1ZNH6P4XeiqEf4z9eYv2aza5/hDQjmxx5P1zES8ldAIiM/JAWOhz6U03ggDVEt6C rTmO32gC9wEVW30y4Gy9dAM6hddVOMa/GZGojTzaDGT2wf3taxPeV0RBGehrRJvbYgQQ szYjArISP3d7dQOuWsLVL8NuVKie6z8CkUBUY=

e.vertex()->... it's the right thing I should have posted.

Best regards.

2009/9/26 <>
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



--
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