Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Converting quantities with different kernels

Subject: CGAL users discussion list

List archive

[cgal-discuss] Converting quantities with different kernels


Chronological Thread 
  • From: Martin Baeker <>
  • To: CGAL Mailinglist <>
  • Subject: [cgal-discuss] Converting quantities with different kernels
  • Date: Tue, 16 Feb 2010 16:12:56 +0100 (CET)
  • Organization: Institut fuer Werkstoffe TU Braunschweig

Dear all,

in my last question I asked about Nef_polyhedra. by now I found out
that my problem was due to having an extended kernel.

So here is the next (hopefully more simple) question: Can I convert
geometric quantities in an easy way between different kernels?

I have:

typedef CGAL::Homogeneous<CGAL::Gmpz> Kernel;
typedef CGAL::Extended_homogeneous<CGAL::Gmpz> EKernel;
typedef Kernel::Plane_3 Plane_3;
typedef Kernel::Point_3 Point;
typedef Kernel::Vector_3 Vector_3;
typedef EKernel::Plane_3 EPlane_3;
typedef EKernel::Point_3 EPoint;
typedef EKernel::Vector_3 EVector_3;

Is there a simple way to convert a Plane_3 into a EPlane_3 (and the
same with vectors and points) and vice versa?

Thanks for any help,

Martin.


Priv.-Doz. Dr. Martin Bäker
Institut für Werkstoffe
Technische Universität Braunschweig
Langer Kamp 8
38106 Braunschweig
Germany
Tel.: 00-49-531-391-3073
Fax 00-49-531-391-3058
e-mail
<>


Archive powered by MHonArc 2.6.16.

Top of Page