Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Find one ring area on a polygon mesh

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Find one ring area on a polygon mesh


Chronological Thread 
  • From: Osama Fadel <>
  • To:
  • Subject: Re: [cgal-discuss] Find one ring area on a polygon mesh
  • Date: Mon, 10 Jul 2017 16:40:34 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:L0YAwxbfHRIKyvpbGIyWFun/LSx+4OfEezUN459isYplN5qZr8q6bnLW6fgltlLVR4KTs6sC0LuJ9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQtFiT6/bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD0fOjE7/mHZisJ+gqFGrhy/uxNy2JTbbJ2POfdkYq/RYdEXSGxcVchRTSxBBYa8YpMWAeoaJ+lYqpPyrEYOoxSkGAajGufvwSJPi3/xxq01yeEhHhvc0AwuBd0BrWrbrNH7OagPS++11rXIzTTYb/NKwjr9543IfQogofGIR75/bc3RyUw2Gg7Dk16ep4vlPzaP2eQMtWiW9+xgWvi0hGE8rwF+vCKjydsrionMno4Vy1bE9T94wIkvP9G4RlR7bNi5G5VTryGXL5V6Tt8mTm1yuys3yqcKtYClcCQW0pgr2hzSZv+BfoOV+BzsTvyRLi19hH99eLKwmRKy8U+4x+35TMa00VJKojNcktnPqnwBzhLT5tWFR/Z+5Euh1jGP1wfc6uFAP084j7bUK5kkwrIol5oTt1rMHjPulUnokKObcl8o9+uo5uj9fLnquIOQO5Vphgz8Makigsm/Dv45MggKUWib4+O81Lj78E3+W7VFlPg2nbPDvJDUP8sUu7C2Awtb34k+8Rm/FSum0NUDnXkbN19FdxeHgJLoO1HKOvz3EfC/g1G0nDdx2//GJqHhAonKLnXbjLjhcqxy60pFxAUuzNBf/I5bCqwaIPLoQULxr9zZDhohMwOu2ernCdN91pkfWW2VGKOZPrnS4he14PkyKbyMeJMNo2S6bOM04ubny34/g14UO6ezmoAGbWixWfVgLULeanXlhpINEHwBoxElH9Dt3VaNWDoWa3epVL8n/Rk6DpinBMHNXNODmruEiQCgF5hfLk5PBl2IWSPvbIyBUrECYS6fJpRtmyYYVKO9Y4Ak3BCq8gT9zuw0faLv5iQEuMe7h5BO7OrJmERq+A==

I am so sorry i am still completely newbie to CGAL. I was gonna ask my self if there is some tutorials for me to learn CGAL.

On Sun, Jul 9, 2017 at 5:06 PM, Andreas Fabri <> wrote:

Hello,

can you provide the type of the kernel that you used for the Surface_mesh.

Best,

Andreas

On 09/07/2017 13:02, Iasonm wrote:
I am trying to compute the one ring area around every vertex of a triangular
mesh. Below is the code that I used.

CGALSurfaceMesh::Vertex_range vr = Mesh.vertices();
  for (auto vit = vr.begin(); vit != vr.end(); vit++) {
    CGALSurfaceMesh::Face_around_target_range _oneRingRange_ =
        Mesh.faces_around_target(Mesh.halfedge(*vit));
    std::cout << "Area around vertex " << *vit << " is:"
              << CGAL::Polygon_mesh_processing::area(oneRingRange, Mesh)
              << std::endl;
  }

When CGAL::Polygon_mesh_processing::area(oneRingRange, Mesh) is executed i
get an error telling me:
/usr/local/include/CGAL/Polygon_mesh_processing/measure.h:314: error: call
to function 'exact' that is neither visible in the template definition nor
found by argument-dependent lookup
      exact(result);
      ^
Why is this happening?




--
View this message in context: http://cgal-discuss.949826.n4.nabble.com/Find-one-ring-area-on-a-polygon-mesh-tp4662808.html
Sent from the cgal-discuss mailing list archive at Nabble.com.


--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project

phone: +33.492.954.912    skype: andreas.fabri


--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss






Archive powered by MHonArc 2.6.18.

Top of Page