Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Use of ESBTL and Skin Surface create errors

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Use of ESBTL and Skin Surface create errors


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Use of ESBTL and Skin Surface create errors
  • Date: Fri, 08 Feb 2013 09:13:30 +0100
  • Organization: GeometryFactory

Attached to this email, you'll find patched header files than need to be
used instead of those from CGAL (you can edit your CMakeLists.txt and
add the patch to this directory include_directories(BEFORE XXX) )

Let us know if this solves your problem.

Sebastien.

On 02/04/2013 11:12 PM, J-B wrote:
Hello,
I am using the CGAL example Skin_surface_3 / skin_surface_pdb_reader.cpp to
build a skin surface from an .pdb file.

It works (of course, the example does), but when I try to use other
functions I found at
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Skin_surface_3/Chapter_main.html
awfull errors arrive.

In particular, it is about the two
functions:CGAL::make_skin_surface_mesh_3(p, l.begin(), l.end(),
shrinkfactor); (does 2 actions in
1)andCGAL::subdivide_skin_surface_mesh_3(skin_surface, p);

I think it is because ESBTL defines it owns Kernel (typedef
ESBTL::CGAL::EPIC_kernel_with_atom K;) while CGAL uses typedef
CGAL::Exact_predicates_inexact_constructions_kernel K, but ESBTL doesn't
work if I uses the last typedef.

I put an example here :
https://github.com/Gueust/Pymol-Tunnels-Cavities-Finder/blob/master/Example.tar.gz
using the smaller code possible with one line that creates the errors.

To make it compile, if you have both ESBTL and CGAL you only need to go to
build/ and do cmake .

It may be as simple as modifying a typedef, but being not skilled with those
libraries I am completely lost. If someone has the answer it could be great.

Thank you.



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Use-of-ESBTL-and-Skin-Surface-create-errors-tp4656653.html
Sent from the cgal-discuss mailing list archive at Nabble.com.


Attachment: CGAL_patched_headers.tar.gz
Description: GNU Zip compressed data




Archive powered by MHonArc 2.6.18.

Top of Page