mirror of https://github.com/CGAL/cgal
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:
parent
56ab14ec6c
commit
46b7c73e37
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue