|
-
Aug 10th, 2002, 11:33 AM
#1
Thread Starter
New Member
Line Intersecting a Point
Hi all!
I have an easy question for you math buffs (which I have started studying once again... math... not buffs):
What is the equation to determine if a line intersects a given point? For example:
Consider Line(x1,y1)-(x2,y2)
Does this line intersect point xy?
As far as how I plan on using it:
A user may draw a line, then they may move that line by selecting it with a mouseup on the picture. I need to know if the user clicked the line, or clicked the background.
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|