I'm really sorry if my post doesn't appropriate to the forum rule.. I already asked in other forums 2 months ago, but no answer or had voted down and closed.. If you ask me about the basic slope formula or basic theory of intersection of point with a line I know, that's why I try with "if" code since the line is have the same y coordinate there's no slope, so I think if the y coordinate point same with y coordinate line no matter the value of x coordinate as long as the y coordinate same, the counter increasing.. but if you're think I'm expert with python because I'm work with computer vision I'm not I'm newbie to both.. I'm sorry..
On Wed, Sep 3, 2014 at 6:04 AM, Danny Yoo <d...@hashcollision.org> wrote: > > > > On Tue, Sep 2, 2014 at 7:01 AM, Whees Northbee <ch.de2.2...@gmail.com> > wrote: > >> If all of these confusing, I'll simplify the problem, I need to know if > a > >> point (x,y) exactly at a line where line is (ax1,ay) to (ax2,ay).. > > > > > > Case in point: in the question above, you can't possibly be asking us > > to help you write a predicate that tells whether a point is on a line. > > So I have to be misunderstanding your question. You must be asking > > for a library function in OpenCV, and I'm pretty sure none of us are > > OpenCV experts. > > > Ok, found an OpenCV-specific answer about this: > > > http://stackoverflow.com/questions/5596805/opencv-detect-if-points-lie-along-line-plane > > As expected, this is very domain-specific, and probably not suitable > for Python-tutor. >
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor