convert weighted points to bare points

This commit is contained in:
Jane Tournois 2016-11-03 17:02:34 +01:00
parent 7b1fa00343
commit 137fe12b6b
1 changed files with 5 additions and 4 deletions

View File

@ -987,10 +987,11 @@ private:
const int k3,
const Cell_handle& cell) const
{
return CGAL::abs(approximate_dihedral_angle(p,
cell->vertex(k1)->point(),
cell->vertex(k2)->point(),
cell->vertex(k3)->point()));
Construct_point_3 cp;
return CGAL::abs(CGAL::approximate_dihedral_angle(cp(p),
cp(cell->vertex(k1)->point()),
cp(cell->vertex(k2)->point()),
cp(cell->vertex(k3)->point())));
}
/**