mirror of https://github.com/CGAL/cgal
Update Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/measure.h
Co-Authored-By: afabri <andreas.fabri@geometryfactory.com>
This commit is contained in:
parent
544a23aeb3
commit
1fb5670bbd
|
|
@ -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()));
|
||||
|
|
|
|||
Loading…
Reference in New Issue