Find Jobs
Hire Freelancers

Graphics function to calculate offset from line

$10-30 USD

В роботі
Опублікований over 8 years ago

$10-30 USD

Оплачується при отриманні
I need a function that takes a set of points that makes up a line and an offset (+ or -) and returns a new set of points that are offset perpendicularly by the offset distance from the original set. If the angle between the adjacent line segments is convex then a new segment should be added. If concave then the intercept between the two new lines. If a short segment gets "reversed" in the new line then it should be removed. See the attached sketch. The line is open - i.e. this is not a closed shape. The number of points is 6 to 10. Ideally I would like this done in Swift but any variety of c would be ok. C++, C, C Sharp, Objective C. Please specify which language you will use in your bid. Something like the following: class Line { var points : [Point] init( Points : [Point] ) { points = Points } func GetPointsAtOffset( offset : Double) -> [Point] { // Fill this in :) } }
ID проекту: 9198218

Про проект

13 пропозицій(-ї)
Дистанційний проект
Активність 8 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
Доручений:
Аватарка користувача
Hello. I have enough skill with mathematics and geometry in order to solve this task, I prefer to use C# or C++, or C. I think C is best choice, because it's compatible with C++ and Objective-C, as far as I know
$26 USD за 1 день
4,9 (1610 відгуки(-ів))
7,9
7,9
13 фрілансерів(-и) готові виконати цю роботу у середньому за $32 USD
Аватарка користувача
Hello ... I am expert in c++m thus, I will do it in c++ .... I have some questions about the problem. So, if you want I to do it, I will ask you. I have master and PhD in graphics computing, and 22 years working in C++ and OpenGL. BEst regards!
$55 USD за 3 дні(-в)
5,0 (166 відгуки(-ів))
7,5
7,5
Аватарка користувача
I am very proficient in c, c++. I have 16 years c++ developing experience now, and I have worked for 6 years. My work is online game developing, and mainly focus on server side, the language is c++ under linux. I used c++ to make many great projects, for example, I made the tools which can convert java files to c++ scripts which has the same effect, of course garbage collection included. I also made our own mobile game using c++, I even can show you the demo of client. Trust me, please let expert help you.
$50 USD за 2 дні(-в)
4,9 (203 відгуки(-ів))
7,3
7,3
Аватарка користувача
Hello, I can do it in C, C++, C#, don't Swift. The coordinate must be double, float, long? for example in C: struct Point{ double x,y; }; struct Line{ int count; /* >=6 */ struct Point* points; /* points of a open line */ }; thanks, Ronald
$15 USD за 1 день
5,0 (21 відгуки(-ів))
4,8
4,8
Аватарка користувача
La propuesta todavía no ha sido proveída
$30 USD за 3 дні(-в)
5,0 (8 відгуки(-ів))
4,1
4,1
Аватарка користувача
Hello. How are you? I saw your description and attached files. I understood it and can do it well. I have done several project like this. I'm an expert in Data Structures and Algorithms. And I know Java ,C/C++,C# and Python well. I'm interested this project. I want to discuss with you about this project. If it's possible,please contact me and explain more detail. I wait your good reply. Bye.
$45 USD за 1 день
4,2 (11 відгуки(-ів))
3,1
3,1
Аватарка користувача
It is an aspect of drawing WPF c# project.I can help you
$35 USD за 1 день
5,0 (2 відгуки(-ів))
2,0
2,0
Аватарка користувача
I am a Computer Science and Mathematics graduate from the 1990s, and I have plenty of C programming experience, and also some recent Java experience. Although this project is certainly not trivial, I would be happy to try to get it working within a week for US$25 in order to try to establish a reputation on freelancer.com (I am fairly new to freelancer.com). My first choice of language to use would be Java, my second choice would be C.
$25 USD за 1 день
5,0 (2 відгуки(-ів))
2,0
2,0
Аватарка користувача
I'm a Magister in Applied Mathematics and I have a lot of experience working with C++, so I will be doing this project in that language. I will be perfect for this job.
$30 USD за 3 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
A simple C++ task could handle it easily just need a chance . to get review to make profile strong just test me . that all i want to say /....
$15 USD за 1 день
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
I will done it on C language ...........................................................................................................................................................................
$35 USD за 2 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
We can provide a program written in Dev C++ that computes new lines and Point sets for an Offset line. The program uses Michael Main's graphics.h h file. An exe and cpp file are available.
$25 USD за 1 день
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
A proposal has not yet been provided
$25 USD за 1 день
0,0 (0 відгуки(-ів))
0,0
0,0

Про клієнта

Прапор UNITED STATES
Bonita Springs, United States
5,0
154
Спосіб оплати верифіковано
На сайті з жовт. 25, 2004

Верифікація клієнта

Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.