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 08:31:30 +0100
  • Organization: GeometryFactory

This is a bug in CGAL. I'll try to fix it rapidly and come back to the list.

Thanks for the report,

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.





Archive powered by MHonArc 2.6.18.

Top of Page