Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] C++ typecast query: How to from Lapack++ to CGAL?

Subject: CGAL users discussion list

List archive

[cgal-discuss] C++ typecast query: How to from Lapack++ to CGAL?


Chronological Thread 
  • From: Samay Kumar <>
  • To:
  • Subject: [cgal-discuss] C++ typecast query: How to from Lapack++ to CGAL?
  • Date: Sun, 18 Oct 2009 10:32:04 -0700 (PDT)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=rj0ABEf2Clb/8p+bk501EIS6Kv0xaTQNx8MJhFQumW6r37btyPqMkwmirMIcUnXjV6fjf7AIG5MH9bAbMev2YaLo9dneJyU7YPOVPzRyK1Qi3UvDrV+FdUDcD4zncdV7zfanWbhCHLuYt6SlhfaPMw5Mz5ZfJ5Z/S+Pyiw+dZGU=;

Hello friends,

I have a simple C++ type cast question but to one of CGAL class. Kindly advice any appropriate way if my query seems not possible.

I have bunch of 3D points stored in one of Lapack++ data structure "LaGenMatDouble": http://lapackpp.sourceforge.net/html/classLaGenMatDouble.html

LaGenMatDouble point_lapack(N,3);

Actually I want to do some delaunay triangulation and some other geometric processing with CGAL so I decided to use data variable "point_cgal" as ...

typedef CGAL::Cartesian<double>  Kernel;
typedef Kernel::Point_3  Point_3;
vector<Point_3>  point_cgal;

Now, my question is how can I typecast "point_lapack" to "point_cgal" so that I dont have to copy the whole content of one data structure to another. Because I guess I'll have to switch between both library very often so don't want to copy the content but to reference it. Thanks.

Greetings,
Samay



__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

  • [cgal-discuss] C++ typecast query: How to from Lapack++ to CGAL?, Samay Kumar, 10/18/2009

Archive powered by MHonArc 2.6.16.

Top of Page