Allow Epec in Refine_edges_with_clusters

Allow instantiation of Refine_edges_with_clusters with EPEC.

This should be a null op with Epic.
This commit is contained in:
Michael Hemmer 2020-10-20 16:58:36 +02:00 committed by GitHub
parent 56ab14ec6c
commit 46b7c73e37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -273,8 +273,10 @@ private:
const Point m = midpoint(a, b);
typename Geom_traits::Vector_2 v = vector(a,m);
v = scaled_vector(v,CGAL_NTS sqrt(c.minimum_squared_length /
squared_distance(a,b)));
v = scaled_vector(
v, CGAL_NTS sqrt(CGAL::to_double(c.minimum_squared_length /
squared_distance(a, b))));
Point i = translate(a,v), i2(i);