Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] How do I instantiate a Polyhedron_3 type with another different Polyhedron_3 type

Subject: CGAL users discussion list

List archive

[cgal-discuss] How do I instantiate a Polyhedron_3 type with another different Polyhedron_3 type


Chronological Thread 
  • From: "Amir Vaxman" <>
  • To: <>
  • Subject: [cgal-discuss] How do I instantiate a Polyhedron_3 type with another different Polyhedron_3 type
  • Date: Sun, 9 May 2010 15:39:56 +0300

Hello,

 

Suppose I have the following definitions:

 

Typedef typename Polyhedron_3<Kernel, My_items> My_polyhedron;

Typedef typename Polyhedron_3<Kernel> Polyhedron;

 

Where “kernel” and “My_items” are defined before. How do I convert between a “My_polyhedron” instance and a “Polyhedron” instance? What I need is for the basic HDS and additional geometric information from “Polyhedron” to pass to “My_polyhedron”. The simple copy constructor doesn’t work.

 

Thanks, Amir.

 

 



  • [cgal-discuss] How do I instantiate a Polyhedron_3 type with another different Polyhedron_3 type, Amir Vaxman, 05/09/2010

Archive powered by MHonArc 2.6.16.

Top of Page