Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Simplification of a polyhedron subclass

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Simplification of a polyhedron subclass


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] Simplification of a polyhedron subclass
  • Date: Fri, 02 Nov 2007 11:19:02 +0100


wrote:
Dear all,
I would like to use the surface mesh simplification algorithm with a subclass
of a polyhedron_3, defined as follows:
template <class kernel, class items>
class My_polyhedron : public CGAL::Polyhedron_3<kernel,items>

Is it possible? I have tried but it seems not to work.
Thanks!

Guillaume Lavoué


Hello,

You have to upcast it to the Polyhedron_3 class as it uses partial
specializations of a graph_traits class.

best regards,

andreas



Archive powered by MHonArc 2.6.16.

Top of Page