Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] using a C Polyhedron instead of C++

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] using a C Polyhedron instead of C++


Chronological Thread 
  • From: Michael George <>
  • To:
  • Subject: Re: [cgal-discuss] using a C Polyhedron instead of C++
  • Date: Sat, 20 Feb 2010 11:10:18 -0500

I think you're probably better off simply using the data structures as they are and creating a bunch of extern functions to
update and query the data structures as you need to. You can handle C++ objects in C as either void pointers or PIMPLs.

--Mike

Mohamed Yousef wrote:
Hello all,

how can i replace all data containers in the Polyhedron class to be in C not C++, without affecting the interface
and existing functionality (what templates required,how to specialize them) ?

i need this to access Polyhedron data from C (points , faces , edges , their relations )

Thanks,
Mohamed Yousef




Archive powered by MHonArc 2.6.16.

Top of Page