Subject: CGAL users discussion list
List archive
- From: Iasonm <>
- To:
- Subject: Re: [cgal-discuss] Find one ring area on a polygon mesh
- Date: Sat, 12 Aug 2017 06:33:10 -0700 (PDT)
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=None
- Ironport-phdr: 9a23:qben5h89tI4B7P9uRHKM819IXTAuvvDOBiVQ1KB+1ugcTK2v8tzYMVDF4r011RmSAtWdtqoMotGVmp6jcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS46tL2HV93a95DpXFhTkPhduPcz0HJTThoK5zbOc4ZrWNiRBnz27ZPsmNQyqqgHcsMQ+jo5rK6J3wRzM9CgbM99KzH9lcArA1y334d29qcZu
Hello again,
the area function seems to be working but I now face the same problem when
using the volume function. I am using qtcreator and when I run the following
I get Volume is:0.
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Surface_mesh.h>
#include <CGAL/Polygon_mesh_processing/measure.h>
#include <iostream>
namespace PMP = CGAL::Polygon_mesh_processing;
typedef CGAL::Exact_predicates_inexact_constructions_kernel Epic;
int main(int argc, char *argv[]) {
typedef CGAL::Surface_mesh<Epic::Point_3> Surface_mesh;
Surface_mesh sm;
std::cout << "Volume is:" << PMP::volume(sm);
return 0;
}
but when I try to use it in my project using a surface mesh and an epick
kernel I get the same error as before: "call to function 'exact that is
neither..." . In both cases I use clang. Does that mean that my project is
using a different version of CGAL than the test project above?
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Find-one-ring-area-on-a-polygon-mesh-tp4662808p4662918.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- Re: [cgal-discuss] Find one ring area on a polygon mesh, Iasonm, 08/12/2017
- Re: [cgal-discuss] Find one ring area on a polygon mesh, Iasonm, 08/13/2017
Archive powered by MHonArc 2.6.18.