Find Jobs
Hire Freelancers

Algorithm where a line is touching the image borders in Java

$30-100 USD

Completed
Posted over 13 years ago

$30-100 USD

Paid on delivery
I need a algorithm for two points (S1, S2) where a line touches the borders. Input of the function are two points (P1, P2) and the image border (MaxX, MaxY). The output should be the two points (S1, S2) where the line (created by P1, P2) touches the borders of the image. The function should look like this: Class Point { Int X; Int Y; } Class Line { Point P1; Point P2; } Line PLine = new Line(); [login to view URL] = P1; [login to view URL] = P2; Line S = FindLine(Line PLine, Int MaxX, int MaxY); ## Deliverables 1) All deliverables will be considered "work made for hire" under U.S. Copyright law. Employer will receive exclusive and complete copyrights to all work purchased. (No 3rd party components unless all copyright ramifications are explained AND AGREED TO by the employer on the site per the worker's Worker Legal Agreement). You have to test your solution! No GUI or graphic is needed. ## Platform System requirements: Java / Eclipse Efficient algorithm Only free source code Windows XP and Windows 7
Project ID: 3708470

About the project

18 proposals
Remote project
Active 14 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$12 USD in 30 days
5.0 (10 reviews)
2.4
2.4
18 freelancers are bidding on average $37 USD for this job
User Avatar
See private message.
$42.50 USD in 30 days
4.9 (150 reviews)
7.0
7.0
User Avatar
See private message.
$63.75 USD in 30 days
4.9 (239 reviews)
5.8
5.8
User Avatar
See private message.
$76.50 USD in 30 days
4.6 (49 reviews)
5.7
5.7
User Avatar
See private message.
$42.50 USD in 30 days
5.0 (234 reviews)
5.6
5.6
User Avatar
See private message.
$11.90 USD in 30 days
4.9 (36 reviews)
3.6
3.6
User Avatar
See private message.
$34 USD in 30 days
5.0 (9 reviews)
3.6
3.6
User Avatar
See private message.
$38.25 USD in 30 days
5.0 (21 reviews)
3.5
3.5
User Avatar
See private message.
$6.80 USD in 30 days
5.0 (33 reviews)
3.4
3.4
User Avatar
See private message.
$21.25 USD in 30 days
4.3 (8 reviews)
3.2
3.2
User Avatar
See private message.
$29.75 USD in 30 days
4.9 (10 reviews)
2.8
2.8
User Avatar
See private message.
$72.25 USD in 30 days
4.8 (6 reviews)
2.4
2.4
User Avatar
See private message.
$10.20 USD in 30 days
5.0 (8 reviews)
2.3
2.3
User Avatar
See private message.
$17 USD in 30 days
4.6 (11 reviews)
2.3
2.3
User Avatar
See private message.
$85 USD in 30 days
5.0 (4 reviews)
0.5
0.5
User Avatar
See private message.
$21.25 USD in 30 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$25.50 USD in 30 days
0.0 (1 review)
0.0
0.0
User Avatar
See private message.
$42.50 USD in 30 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$59.50 USD in 30 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of GERMANY
Munuch, Germany
5.0
87
Payment method verified
Member since Jan 17, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.