How to find two endpoints of a line?

  • Thread starter rakeshthp
  • Start date
  • Tags
    Line
In summary, to find the endpoints of a line, you need to find the point P, find the length of the tangent, and find the points A and D that are perpendicular to point P.
  • #1
rakeshthp
6
0
how to find two endpoints of a line..??

Hi...

I have a particular point on a curve.. This curve isn't a smooth curve.. anyways, i need to draw a tangent at this point.. i have the following information in hand:

1. Point P at which tangent has to be drawn.
2. Length l of the tangent.

Now i want the two end-points of the tangent in such a way that P is the mid-point of these new points.. I don't have equation of the curve. i don't know slope of the tangent..

Is there any way to do this.??

Thanks in advance
 
Physics news on Phys.org
  • #2
Welcome to PF!

Hi rakeshthp! Welcome to PF! :smile:
rakeshthp said:
Now i want the two end-points of the tangent in such a way that P is the mid-point of these new points.. I don't have equation of the curve. i don't know slope of the tangent.

Well, what do you have? :confused:

Can't you just line up a straight-edge against the curve so that it touches it at P?
 
  • #3


In what sense, then do you "know the tangent" line? And certainly you need to know the tangent in some way before you can find points on it!
 
  • #4


Let me be more precise... Pls refer to the image diagram attached along this post..

You will find 5 points.. I need to calculate points a, b, c and d.. SO i thought i would begin by finding points a, d

lengths (Pa) = (Pd), is not constant.. it may vary every time.. it is called "along boundary length".. So, for a given along boundary length, i need to find these two points a, and d, with respect to P in such a way that,

l(Pa) = l(Pd) = along boundary length

and points a and d must lie on any of the line segments..

First way i thought was to find the tangent(shown in green), of "along boundary length" and get two end points.. from these two end points i can draw a line which will intersect the arc, and i can get values of "a" and "d"... But now i feel this logic is having some fault..

Now am stuck up.. My ultimate goal is to find values of points a, b, c and d for given set of inputs:

1. Point P
2. along boundary length l(Pa), l(Pd)
3. off boundary length l(ab), l(cd)

Any way to get this solved..??

Thanks in advance
 

Attachments

  • distPoints.JPG
    distPoints.JPG
    3 KB · Views: 398
Last edited:
  • #5
rakeshthp said:
My ultimate goal is to find values of points a, b, c and d for given set of inputs:

1. Point P
2. along boundary length l(Pa), l(Pd)
3. off boundary length l(ab), l(cd)

Sorry, I've no idea what this question is about. :confused:

What are the other 6 points along the line in the diagram?

What are b and c?

What is the whole of the original question that this comes from?
 
  • #6


hi Tim..

Pardon me for my poor vocabulary... Here is the problem description in detail

The line(connected line) drawn is assumed to be a boundary (assume it as ocean boundary or Great wall of china).. and the along-boundary length is the distance between point P and point a & point P and point d..

off-boundary length means the distance away from the boundary.. in this case distance between point p and mid point of line bc..

Actually, the flow goes something like this.. In this system:

1) user will first input the points of the arc(connected line).. Using these points, connected line is drawn.. Among these points one point is point P..

2) Next user will define a region to perform some operation. This region is defined by

i) Inputting the point of interest around which the region is defined. Here in our example, point P is the point of interest, where user wants to define a region.
ii) Inputting the along-boundary length. Using this length, we need to find the points A and D..
iii) Inputting the off-boundary length.. Once Points A and D are estimated, next step is to estimate, points B and C in such a way that distance of point P and mid-point(BC) is equal to the off-boundary length. And these two points need to be perpendicular to point of interest P.

3) After estimating all four points, users region is defined. And this region has to be in a rectangular shape.

4) Once the area is defined, further processing is done..

Any more queries, then pls feel free to ask.. I hope this information makes my problem understandable...
 

FAQ: How to find two endpoints of a line?

What is the formula for finding the slope of a line?

The formula for finding the slope of a line is (y2 - y1) / (x2 - x1), where (x1, y1) and (x2, y2) are the coordinates of two points on the line.

How do I find the coordinates of two points on a line?

You can find the coordinates of two points on a line by using the slope formula (y2 - y1) / (x2 - x1) and solving for (x2, y2) using the given slope and one set of coordinates (x1, y1).

What is the equation of a line in slope-intercept form?

The equation of a line in slope-intercept form is y = mx + b, where m is the slope and b is the y-intercept.

Can I find the endpoints of a line if I only know the slope and one point?

Yes, you can find the endpoints of a line if you know the slope and one point by using the slope formula (y2 - y1) / (x2 - x1) and solving for (x2, y2) using the given slope and point (x1, y1).

How do I graph a line using the endpoints?

To graph a line using the endpoints, plot the two points on a coordinate plane and connect them with a straight line. The line will extend infinitely in both directions.

Back
Top