Subject: CGAL users discussion list
List archive
- From: Rinaldo <>
- To:
- Subject: RE: [cgal-discuss] Use of ESBTL and Skin Surface create errors
- Date: Wed, 16 Jul 2014 11:59:39 -0700 (PDT)
#ifndef CGAL_VERSION_H
#define CGAL_VERSION_H
#define CGAL_VERSION 4.4
#define CGAL_VERSION_NR 1040401000
#define CGAL_VERSION_STR CGAL_str(CGAL_VERSION)
J
Cheers,
Rinaldo
From: Sebastien Loriot (GeometryFactory) [via cgal-discuss] [mailto:[hidden email]]
Sent: terça-feira, 8 de julho de 2014 02:26
To: Rinaldo
Subject: Re: Use of ESBTL and Skin Surface create errors
On 07/07/2014 09:58 PM, Rinaldo wrote:
> I am using OpenSUSE 13.1 amd its CGAL implementation.
>
What is the output of
> grep CGAL_VERSION /usr/include/CGAL/version.h ?
> Cheers,
>
> Rinaldo
>
> *From:*Sebastien Loriot (GeometryFactory) [via cgal-discuss]
> [mailto:[hidden email] </user/SendEmail.jtp?type=node&node=4659533&i=0>]
> *Sent:* sexta-feira, 4 de julho de 2014 03:47
> *To:* Rinaldo
> *Subject:* Re: Use of ESBTL and Skin Surface create errors
>
> I just gave it a try and it worked here.
>
> Could you give some details about your platform and what error you
> encountered?
>
> Sebastien.
>
>
> On 07/03/2014 07:41 PM, Rinaldo wrote:
>
>
> > Dear Sebastien,
> >
> > Thank you for your reply. I am using CGAL 4.4. The code is as follows:
> >
> > #include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
> >
> > #include <CGAL/Skin_surface_3.h>
> >
> > #include <CGAL/Polyhedron_3.h>
> >
> > #include <CGAL/mesh_skin_surface_3.h>
> >
> > #include <CGAL/Skin_surface_polyhedral_items_3.h>
> >
> > #include <list>
> >
> > #include <ESBTL/CGAL/EPIC_kernel_with_atom.h>
> >
> > #include <ESBTL/default.h>
> >
> > typedef ESBTL::CGAL::EPIC_kernel_with_atom K;
> >
> > typedef ESBTL::CGAL::Default_system System;
> >
> > typedef CGAL::Skin_surface_traits_3<K> Traits;
> >
> > typedef CGAL::Skin_surface_3<Traits>
> Skin_surface_3;
> >
> > typedef Skin_surface_3::FT FT;
> >
> > typedef Skin_surface_3::Weighted_point
> Weighted_point;
> >
> > typedef Weighted_point::Point Bare_point;
> >
> > typedef CGAL::Polyhedron_3<K> Polyhedron;
> >
> > #include <list>
> >
> > #include <fstream>
> >
> > #include "skin_surface_writer.h"
> >
> > #include "extract_balls_from_pdb.h"
> >
> > int main(int argc, char *argv[]) {
> >
> > const char *filename;
> >
> > if (argc == 2) {
> >
> > filename = argv[1];
> >
> > } else {
> >
> > filename = "4lfq.pdb";
> >
> > }
> >
> > std::list<Weighted_point> l;
> >
> > double shrinkfactor = 0.5;
> >
> > //Container for molecular system
> >
> > std::vector<System> systems;
> >
> > // Retrieve input balls:
> >
> > extract_balls_from_pdb<K>(filename,systems,std::back_inserter(l));
> >
> > // Construct skin surface:
> >
> > std::cout << "Constructing skin surface..." <<std::endl;
> >
> > Skin_surface_3 skin_surface(l.begin(), l.end(), shrinkfactor);
> >
> > // Extract mesh from the skin surface:
> >
> > std::cout << "Meshing skin surface..." <<std::endl;
> >
> > Polyhedron p;
> >
> > CGAL::mesh_skin_surface_3(skin_surface, p);
> >
> > std::cout << "Subdividing ..." << std::endl;
> >
> > CGAL::subdivide_skin_surface_mesh_3(skin_surface, p,
> 1);
> >
> > std::ofstream out("mesh.off");
> >
> > out << p;
> >
> > return 0;
> >
> > }
> >
> > *From:*Sebastien Loriot (GeometryFactory) [via cgal-discuss]
> > [mailto:[hidden email] </user/SendEmail.jtp?type=node&node=4659518&i=0>]
> > *Sent:* quinta-feira, 3 de julho de 2014 02:33
> > *To:* Rinaldo
> > *Subject:* Re: Use of ESBTL and Skin Surface create errors
> >
> > On 07/02/2014 10:45 PM, Rinaldo wrote:
> > >
> > > I am having the same problem using the latest version for both
> ESBTL and
> > > CGAL.
> > > Do you know if the problem of using subdivide_skin_surface_mesh_3
> > with ESBTL
> > > has been fixed?
> > > Best wishes,
> > >
> > > Rinaldo
> > >
> >
> > The fixes have been integrated into the release 4.2. What version of
> > CGAL are you using?
> >
> > Do you have a small example showing the pb?
> >
> > Sebastien.
> >
> > >
> > >
> > >
> > > --
> > > View this message in context:
> >
> http://cgal-discuss.949826.n4.nabble.com/Use-of-ESBTL-and-Skin-Surface-create-errors-tp4656653p4659514.html
> > > Sent from the cgal-discuss mailing list archive at Nabble.com.
> > >
> >
> >
> > --
> > You are currently subscribed to cgal-discuss.
> > To unsubscribe or access the archives, go to
> > https://sympa.inria.fr/sympa/info/cgal-discuss
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > *If you reply to this email, your message will be added to the
> > discussion below:*
> >
> >
> http://cgal-discuss.949826.n4.nabble.com/Use-of-ESBTL-and-Skin-Surface-create-errors-tp4656653p4659516.html
> >
> >
> > To unsubscribe from Use of ESBTL and Skin Surface create errors,
> click here.
> > NAML
> >
> <http://cgal-discuss.949826.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> >
> >
> >
> > ------------------------------------------------------------------------
> > View this message in context: RE: Use of ESBTL and Skin Surface create
> > errors
> >
> <http://cgal-discuss.949826.n4.nabble.com/Use-of-ESBTL-and-Skin-Surface-create-errors-tp4656653p4659518.html>
>
> > Sent from the cgal-discuss mailing list archive
> > <http://cgal-discuss.949826.n4.nabble.com/> at Nabble.com.
>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
>
>
>
> ------------------------------------------------------------------------
>
> *If you reply to this email, your message will be added to the
> discussion below:*
>
> http://cgal-discuss.949826.n4.nabble.com/Use-of-ESBTL-and-Skin-Surface-create-errors-tp4656653p4659521.html
>
>
> To unsubscribe from Use of ESBTL and Skin Surface create errors, click here.
> NAML
> <http://cgal-discuss.949826.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
> ------------------------------------------------------------------------
> View this message in context: RE: Use of ESBTL and Skin Surface create
> errors
> <http://cgal-discuss.949826.n4.nabble.com/Use-of-ESBTL-and-Skin-Surface-create-errors-tp4656653p4659533.html>
> Sent from the cgal-discuss mailing list archive
> <http://cgal-discuss.949826.n4.nabble.com/> at Nabble.com.
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
If you reply to this email, your message will be added to the discussion below:
To unsubscribe from Use of ESBTL and Skin Surface create errors, click here.
NAML
View this message in context: RE: Use of ESBTL and Skin Surface create errors
Sent from the cgal-discuss mailing list archive at Nabble.com.
- Re: [cgal-discuss] Use of ESBTL and Skin Surface create errors, Rinaldo, 07/02/2014
- Re: [cgal-discuss] Use of ESBTL and Skin Surface create errors, Sebastien Loriot (GeometryFactory), 07/03/2014
- RE: [cgal-discuss] Use of ESBTL and Skin Surface create errors, Rinaldo, 07/03/2014
- Re: [cgal-discuss] Use of ESBTL and Skin Surface create errors, Sebastien Loriot (GeometryFactory), 07/04/2014
- RE: [cgal-discuss] Use of ESBTL and Skin Surface create errors, Rinaldo, 07/07/2014
- Re: [cgal-discuss] Use of ESBTL and Skin Surface create errors, Sebastien Loriot (GeometryFactory), 07/08/2014
- RE: [cgal-discuss] Use of ESBTL and Skin Surface create errors, Rinaldo, 07/16/2014
- Re: [cgal-discuss] Use of ESBTL and Skin Surface create errors, Sebastien Loriot (GeometryFactory), 07/08/2014
- RE: [cgal-discuss] Use of ESBTL and Skin Surface create errors, Rinaldo, 07/07/2014
- Re: [cgal-discuss] Use of ESBTL and Skin Surface create errors, Sebastien Loriot (GeometryFactory), 07/04/2014
- RE: [cgal-discuss] Use of ESBTL and Skin Surface create errors, Rinaldo, 07/03/2014
- Re: [cgal-discuss] Use of ESBTL and Skin Surface create errors, Sebastien Loriot (GeometryFactory), 07/03/2014
Archive powered by MHonArc 2.6.18.