Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] Find one ring area on a polygon mesh
- Date: Sun, 9 Jul 2017 17:06:55 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
- Ironport-phdr: 9a23:7bTDSR8bNtBG5f9uRHKM819IXTAuvvDOBiVQ1KB31+kcTK2v8tzYMVDF4r011RmSDNqds6oMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2e2//5/ebx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTFUACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMMvrRr42RDui9b9mRgL2hicJNzA592LZhMJ+g61Uoh2uuxNxzpXIYIyXLvdyYr/RcN0aSGdHQ81fVzZBAoS5b4YXE+cBO/tXr5PjqFQUthu1GAmiC/n0xT9Sh3/9wKo33P4nEQ7bxgwvAcgBsG/OoNX7LqgdSvq1zKjTwDXMcfxW3jL955bUchA7ofCMU6h/ftbNyUkoDQPEjk+cppDiPzOQz+kAtXWQ4eRnVeKqkWEnqgdxryCpxsg2kYbGnYYVxU7e+Splx4Y1INu1Q1N4b968CJZdtCOXO5FyT84hWW1kpSQ3x7MctZKmfCUHyowrywDFZ/Cac4WE+A/vWeSMLTtimX5oer2yihCv+ka60OL8TNO70FNSoypFjNbMsncN2gTO5sSaUPd9+0Ch1DSV2wDW8O5EIEQ0mbPcK5483r48jJ0TsVrDHiPsnkX5krOWel0l+uiu9evnfq3rq5yeOoNujgzzMb4iltG9DOk2KAQCQmiW9Oak2L3m50L5QbFKjvMskqnetZDXPd4UpqikDA9PzIks8Q2/Ay2o0NsChnYHNlNFdQmIj4f3PFHOJe73Deulg1Wsnjdk3ezJPqHmApXXLnnPiqvufbF460JE0go80chf545ICrEGOP/8RkDxu8bcDhMgLgO0wv3nB8lg1oMFQmKCGbSZMaPXsV+Q/O0jOeiMZIkPuDb8Mfcp/fDujWVq0WMaKKKm1J9SZHGjFel9OG2YZ2Dti5EPCzQkpA07GcXshEePWCUbSX+4RaN0sjg9BJirBJyFSImnmr2p0yq8G5BKfHFIA1uQFm35MY6DXqFfO2qpPsZ9n2lcBvCaQIg72ET2uQ==
- Organization: GeometryFactory
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
- [cgal-discuss] Find one ring area on a polygon mesh, Iasonm, 07/09/2017
- Re: [cgal-discuss] Find one ring area on a polygon mesh, Andreas Fabri, 07/09/2017
- Re: [cgal-discuss] Find one ring area on a polygon mesh, Osama Fadel, 07/10/2017
- Re: [cgal-discuss] Find one ring area on a polygon mesh, Iasonm, 07/12/2017
- Re: [cgal-discuss] Find one ring area on a polygon mesh, Andreas Fabri, 07/17/2017
- Re: [cgal-discuss] Find one ring area on a polygon mesh, Andreas Fabri, 07/09/2017
Archive powered by MHonArc 2.6.18.