Update Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/measure.h

Co-Authored-By: afabri <andreas.fabri@geometryfactory.com>
This commit is contained in:
Sebastien Loriot 2019-03-25 14:09:15 +01:00 committed by GitHub
parent 544a23aeb3
commit 1fb5670bbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -607,7 +607,7 @@ typedef typename Kernel::FT FT;
vr = vector(ORIGIN, get(vpm, target(prev(halfedge(fd, tmesh), tmesh), tmesh)));
Vector_3 n = cross_product((vq-vp),(vr-vp));
volume += (scalar_product(n,vp))/6.;
n = scale(n, 1.0/24.0);
n = scale(n, FT(1)/FT(24));
Vector_3 v2 = sum(vp, vq);
Vector_3 v3 = Vector_3(square(v2.x()), square(v2.y()), square(v2.z()));