Find Jobs
Hire Freelancers

Graphics function to calculate offset from line

$10-30 USD

Berlangsung
Dibuat lebih dari 8 tahun yang lalu

$10-30 USD

Dibayar ketika dikirim
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 Proyek: 9198218

Tentang proyek

13 proposal
Proyek remot
Aktif 8 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
Diberikan kepada:
Avatar Pengguna
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 dalam 1 hari
4,9 (1610 ulasan)
7,9
7,9
13 freelancer menawar dengan rata-rata $32 USD untuk pekerjaan ini
Avatar Pengguna
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 dalam 3 hari
5,0 (166 ulasan)
7,5
7,5
Avatar Pengguna
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 dalam 2 hari
4,9 (203 ulasan)
7,3
7,3
Avatar Pengguna
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 dalam 1 hari
5,0 (21 ulasan)
4,8
4,8
Avatar Pengguna
La propuesta todavía no ha sido proveída
$30 USD dalam 3 hari
5,0 (8 ulasan)
4,1
4,1
Avatar Pengguna
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 dalam 1 hari
4,2 (11 ulasan)
3,1
3,1
Avatar Pengguna
It is an aspect of drawing WPF c# project.I can help you
$35 USD dalam 1 hari
5,0 (2 ulasan)
2,0
2,0
Avatar Pengguna
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 dalam 1 hari
5,0 (2 ulasan)
2,0
2,0
Avatar Pengguna
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 dalam 3 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
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 dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
I will done it on C language ...........................................................................................................................................................................
$35 USD dalam 2 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
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 dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
A proposal has not yet been provided
$25 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera UNITED STATES
Bonita Springs, United States
5,0
154
Memverifikasi Metode pembayaran
Anggota sejak Okt 25, 2004

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.