C# and Math: Interpolate coordinates using Bezier curve
$30-250 USD
Завершено
Опублікований over 12 years ago
$30-250 USD
Оплачується при отриманні
Interpolate coordinates using 'Bezier curve'. You have to use the given Bezier curve algorithm to interpolate the coordinates.
Language: c#
Tool: VS2010
Aim: To Interpolate along given coordinates
Base Algorithm: [login to view URL]
Use the above algorithm to create the interpolator in C#. The inputs & outputs to the interpolator are the following.
1) [Input-1] coordinates will be given as list of points. “List<PointF>”.
2) [Input-2] Interval of distance in pixels (IDP) between the coordinates. If we keep IDP==5, in every 5 pixels (along the path) we should get an interpolated coordinate.
3) [Input-3] Open curve or closed curve.
4) [Output-1] the output is updated in the input-list, with the interpolated coordinates inserted accordingly.
5) [Output-2] total number of new coordinates introduced to the list.
Example input:
(1)
List<PointF> src_list = new List<PointF>();
PointF pt = new PointF(100, 100);
[login to view URL](pt);
pt = new PointF(140, 50);
[login to view URL](pt);
pt = new PointF(180, 200);
[login to view URL](pt);
pt = new PointF(200, 100);
[login to view URL](pt);
(2)
IDC == 7
(3)
Open
Rules of Engagement:
https://www.freelancer.com/users/1781422.html
Hi, we are Computer Science Developers with plenty of experience with numerical mathemathics, C# and Desktop Applications, so we will meet your expectations.