mirror of https://github.com/CGAL/cgal
Fix the order of the parameters
This commit is contained in:
parent
69eca991ed
commit
ae6586971d
|
|
@ -342,7 +342,7 @@ public:
|
||||||
Translated_point translate;
|
Translated_point translate;
|
||||||
auto fraction = pt.getFraction().approx;
|
auto fraction = pt.getFraction().approx;
|
||||||
return translate(points[pt.getPoint()] ,
|
return translate(points[pt.getPoint()] ,
|
||||||
scale(difference(points[pt.getPoint() + 1], points[pt.getPoint()]), fraction));
|
scale(difference(points[pt.getPoint() ], points[pt.getPoint() + 1]), fraction));
|
||||||
}
|
}
|
||||||
|
|
||||||
Point interpolate_at(PointID const& pt) const { return points[pt]; }
|
Point interpolate_at(PointID const& pt) const { return points[pt]; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue