Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] print_polyhedron

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] print_polyhedron


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] print_polyhedron
  • Date: Fri, 20 Nov 2015 08:49:25 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:2NPJAB+iUa7T0f9uRHKM819IXTAuvvDOBiVQ1KB91e4cTK2v8tzYMVDF4r011RmSDdidta4P27uempujcFJDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXsq3G/pQQfBg/4fVIsYL+lR8iM04/nhqibwN76XUZhvHKFe7R8LRG7/036l/I9ps9cEJs30QbDuXBSeu5blitCLFOXmAvgtI/rpMYwu3cYh/V0/MFJVeD2fr8zUKdDJDUgKWE8osPx5jfZSg7arEARWGwNjhtFBUDh6wv7WYu58gT3se9wxDOLE8T9UbcuSHXop/NwTBjyiSAbcTs92G7Sg810yqlcpUTy9FRE34fIbdTNZ7JFdaTHcIZCSA==
  • Organization: GeometryFactory

If you include CGAL/IO/Polyhedron_iostream.h

then there is an output streaming operator defined for
Polyhedron_3 that will write in the OFF format [1].

Sebastien.

[1] https://en.wikipedia.org/wiki/OFF_%28file_format%29

On 11/19/2015 12:05 PM, houssen wrote:
Hello,

I am new to CGAL. I try to write a print_polyhedron method in the same
spirit than the print_polygon method one can find here :
https://github.com/CGAL/cgal/blob/master/Minkowski_sum_2/examples/Minkowski_sum_2/print_utils.h.


Can't get out of this error :
error: ‘Halfedge_around_facet_const_circulator’ in
‘Polyhedron_3_Facet_iterator {aka class
CGAL::internal::In_place_list_const_iterator<CGAL::HalfedgeDS_in_place_list_face<CGAL::I_Polyhedron_facet<CGAL::HalfedgeDS_face_base<CGAL::HalfedgeDS_list_types<CGAL::Epeck,
CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>,
std::allocator<int> >, CGAL::Boolean_tag<true>,
CGAL::Plane_3<CGAL::Epeck> > > >,
std::allocator<CGAL::HalfedgeDS_in_place_list_face<CGAL::I_Polyhedron_facet<CGAL::HalfedgeDS_face_base<CGAL::HalfedgeDS_list_types<CGAL::Epeck,
CGAL::I_Polyhedron_derived_items_3<CGAL::Polyhedron_items_3>,
std::allocator<int> >, CGAL::Boolean_tag<true>,
CGAL::Plane_3<CGAL::Epeck> > > > > >}’ does not name a type
typedef
Polyhedron_3_Facet_iterator::Halfedge_around_facet_const_circulator
Polyhedron_3_Halfedge_around_facet_circulator;

Could somebody help ? (either on compilation error, or print_polyhedron
code)

Franck

Note : I use CGAL-4.7 built from source on Ubuntu-14.04.





Archive powered by MHonArc 2.6.18.

Top of Page