Change ray/line.point(int --> FT)

There is no real requirement on it being an 'int', except some symmetry with
the segment.
This commit is contained in:
Mael Rouxel-Labbé
2019-07-26 15:59:52 +02:00
parent 00be9f3bb9
commit 6c8a8f347d
21 changed files with 71 additions and 63 deletions
@@ -3098,12 +3098,12 @@ namespace HomogeneousKernelFunctors {
}
Point_2
operator()(const Line_2& l, int i) const
operator()(const Line_2& l, const FT i) const
{
Point_2 p = K().construct_point_2_object()(l);
Vector_2 v = K().construct_vector_2_object()(l);
return K().construct_translated_point_2_object()
(p, K().construct_scaled_vector_2_object()(v, RT(i)));
(p, K().construct_scaled_vector_2_object()(v, i));
}