Leftmost integer points on Triangle

Revision en1, by Logarithmic, 2017-02-04 01:00:40

Given 3 points of triangle, one of them is origin, coordinates of the other 2 are positive integers. I want to find the leftmost point inside triangle(could be on the edges of triangle). x_i, y_i <= 10^9. Is there any algorithm to solve this problem?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Logarithmic 2017-02-04 01:00:40 285 Initial revision (published)