OK...I've been fooling wit this for a while & I think I'm close. My knowns:
Start Point & Endpoint of two intersecting lines & the radius of the circle.
The problem:
Find the tangent points.
My progress:
1. Use the points to calculate the slope
2. move b (intercept) to one side of the equation & use an X,Y & b to find the equations of the lines.
3. Find the intersection of the two lines.
4. Find the angle between the two lines.
5. Find the distance from the intersection point to the tangent point using the tangent function.
6. Use the formulas X2=X1+[cos(angle)*Distance], Y2=Y1+[sin(angle)*Distance] for my X & Y values..
Step six is off, per my Cad Package. Everything else is dead on. I'm not sure where I went wrong, or if I'm approaching this all wrong. Any help would be greatly appreciated.
Enter Known X & Y
Line 1
x1 y1 x2 y2
0 0 11 10
Line 2
x1 y1 x2 y2
0 10 10 0
Slope - Calculated
Line 1 0.909090909
Line 2 -1
Y intercept - Calculated
Line 1 0
Line 2 10
Intersection Points - Calculated
X Value 5.238095238
Y Value 4.761904762
Angle Between The Two Lines - Calculated
Angle/2 -43.6368445
Distance From Tangent Point - Calculated
Circle Radius Known
Radius 4
Distance From Intersection To Tangent Point - Calculated
Distance 4.19500877
New Coordinates - Calculated
X Value 2.202048897
Y Value 7.656817748
GP
Start Point & Endpoint of two intersecting lines & the radius of the circle.
The problem:
Find the tangent points.
My progress:
1. Use the points to calculate the slope
2. move b (intercept) to one side of the equation & use an X,Y & b to find the equations of the lines.
3. Find the intersection of the two lines.
4. Find the angle between the two lines.
5. Find the distance from the intersection point to the tangent point using the tangent function.
6. Use the formulas X2=X1+[cos(angle)*Distance], Y2=Y1+[sin(angle)*Distance] for my X & Y values..
Step six is off, per my Cad Package. Everything else is dead on. I'm not sure where I went wrong, or if I'm approaching this all wrong. Any help would be greatly appreciated.
Enter Known X & Y
Line 1
x1 y1 x2 y2
0 0 11 10
Line 2
x1 y1 x2 y2
0 10 10 0
Slope - Calculated
Line 1 0.909090909
Line 2 -1
Y intercept - Calculated
Line 1 0
Line 2 10
Intersection Points - Calculated
X Value 5.238095238
Y Value 4.761904762
Angle Between The Two Lines - Calculated
Angle/2 -43.6368445
Distance From Tangent Point - Calculated
Circle Radius Known
Radius 4
Distance From Intersection To Tangent Point - Calculated
Distance 4.19500877
New Coordinates - Calculated
X Value 2.202048897
Y Value 7.656817748
GP