banner



How To Find Intersection Of 2 Lines

The intersection of lines.

In Euclidean geometry, the intersection of a line and a line can exist the empty gear up, a bespeak, or a line. Distinguishing these cases and finding the intersection betoken take use, for example, in computer graphics, motion planning, and collision detection.

In three-dimensional Euclidean geometry, if ii lines are non in the same aeroplane they are called skew lines and have no point of intersection. If they are in the same plane there are 3 possibilities: if they coincide (are non singled-out lines) they take an infinitude of points in common (namely all of the points on either of them); if they are distinct but take the same slope they are said to exist parallel and have no points in common; otherwise they have a single betoken of intersection.

The distinguishing features of non-Euclidean geometry are the number and locations of possible intersections between 2 lines and the number of possible lines with no intersections (parallel lines) with a given line.

Formulas [edit]

A necessary condition for 2 lines to intersect is that they are in the same plane—that is, are not skew lines. Satisfaction of this condition is equivalent to the tetrahedron with vertices at two of the points on ane line and 2 of the points on the other line beingness degenerate in the sense of having aught volume. For the algebraic form of this condition, see Skew lines § Testing for skewness.

Given two points on each line [edit]

First nosotros consider the intersection of ii lines L 1 {\displaystyle L_{i}} and L two {\displaystyle L_{2}} in two-dimensional space, with line L 1 {\displaystyle L_{1}} beingness defined by two distinct points ( x 1 , y i ) {\displaystyle (x_{i},y_{1})} and ( x 2 , y 2 ) {\displaystyle (x_{2},y_{two})} , and line L 2 {\displaystyle L_{2}} existence defined past two distinct points ( 10 3 , y 3 ) {\displaystyle (x_{3},y_{three})} and ( ten iv , y iv ) {\displaystyle (x_{four},y_{4})} .[1]

The intersection P {\displaystyle P} of line L 1 {\displaystyle L_{1}} and L 2 {\displaystyle L_{two}} tin be defined using determinants.

P 10 = | | x 1 y ane x 2 y 2 | | x i ane x 2 one | | ten 3 y 3 ten four y 4 | | x 3 1 x 4 ane | | | | ten 1 ane x 2 1 | | y 1 1 y 2 1 | | x iii 1 x 4 1 | | y 3 1 y four i | | P y = | | x ane y ane x two y 2 | | y i 1 y ii one | | x three y 3 ten 4 y 4 | | y iii ane y 4 i | | | | x 1 1 x 2 one | | y one 1 y 2 1 | | ten 3 1 x 4 ane | | y 3 1 y 4 one | | {\displaystyle P_{x}={\frac {\begin{vmatrix}{\begin{vmatrix}x_{1}&y_{i}\\x_{2}&y_{2}\finish{vmatrix}}&{\begin{vmatrix}x_{1}&ane\\x_{2}&1\end{vmatrix}}\\\\{\brainstorm{vmatrix}x_{three}&y_{3}\\x_{4}&y_{4}\cease{vmatrix}}&{\begin{vmatrix}x_{3}&1\\x_{4}&i\end{vmatrix}}\stop{vmatrix}}{\begin{vmatrix}{\begin{vmatrix}x_{one}&1\\x_{2}&i\finish{vmatrix}}&{\begin{vmatrix}y_{ane}&1\\y_{2}&1\end{vmatrix}}\\\\{\begin{vmatrix}x_{three}&1\\x_{iv}&i\terminate{vmatrix}}&{\begin{vmatrix}y_{three}&1\\y_{4}&1\end{vmatrix}}\cease{vmatrix}}}\,\!\qquad P_{y}={\frac {\brainstorm{vmatrix}{\begin{vmatrix}x_{1}&y_{i}\\x_{2}&y_{2}\end{vmatrix}}&{\begin{vmatrix}y_{one}&1\\y_{two}&1\end{vmatrix}}\\\\{\begin{vmatrix}x_{3}&y_{3}\\x_{4}&y_{4}\end{vmatrix}}&{\begin{vmatrix}y_{three}&1\\y_{4}&1\stop{vmatrix}}\terminate{vmatrix}}{\begin{vmatrix}{\begin{vmatrix}x_{1}&one\\x_{two}&one\end{vmatrix}}&{\begin{vmatrix}y_{1}&i\\y_{2}&1\end{vmatrix}}\\\\{\begin{vmatrix}x_{3}&1\\x_{4}&1\stop{vmatrix}}&{\begin{vmatrix}y_{3}&1\\y_{4}&1\end{vmatrix}}\end{vmatrix}}}\,\!}

The determinants can be written out as:

( P ten , P y ) = ( ( x i y 2 y one 10 2 ) ( 10 3 x four ) ( x one x two ) ( x 3 y four y 3 x iv ) D , ( x 1 y two y 1 x 2 ) ( y iii y 4 ) ( y i y 2 ) ( ten iii y 4 y 3 ten 4 ) D ) {\displaystyle {\begin{aligned}(P_{10},P_{y})={\Biggl (}&{\frac {(x_{1}y_{2}-y_{1}x_{two})(x_{3}-x_{four})-(x_{one}-x_{2})(x_{3}y_{iv}-y_{3}x_{4})}{D}},\\&{\frac {(x_{1}y_{ii}-y_{1}x_{ii})(y_{3}-y_{four})-(y_{i}-y_{2})(x_{iii}y_{4}-y_{three}x_{4})}{D}}{\Biggr )}\end{aligned}}}

where the denominator is:

D = ( x 1 x ii ) ( y iii y 4 ) ( y 1 y 2 ) ( 10 three x 4 ) {\displaystyle D=(x_{ane}-x_{ii})(y_{3}-y_{iv})-(y_{1}-y_{two})(x_{iii}-x_{4})}

When the two lines are parallel or coincident, the denominator is zip. If the lines are almost parallel, then a computer solution might encounter numeric problems implementing the solution described higher up: the recognition of this condition might crave an approximate test in a practical application. An alternate approach might be to rotate the line segments so that one of them is horizontal, whence the solution of the rotated parametric form of the 2d line is easily obtained. Conscientious discussion of the special cases is required (parallel lines/coincident lines, overlapping/non-overlapping intervals).

Given two points on each line segment [edit]

Note that the intersection bespeak in a higher place is for the infinitely long lines defined by the points, rather than the line segments between the points, and can produce an intersection signal not contained in either of the 2 line segments. In lodge to observe the position of the intersection in respect to the line segments, we tin define lines L one {\displaystyle L_{i}} and L 2 {\displaystyle L_{ii}} in terms of showtime caste Bézier parameters:

L ane = [ x 1 y i ] + t [ x 2 x ane y 2 y 1 ] , 50 2 = [ ten 3 y 3 ] + u [ x 4 x 3 y iv y 3 ] {\displaystyle L_{1}={\brainstorm{bmatrix}x_{1}\\y_{1}\end{bmatrix}}+t{\begin{bmatrix}x_{two}-x_{i}\\y_{ii}-y_{one}\finish{bmatrix}},\qquad L_{ii}={\begin{bmatrix}x_{3}\\y_{3}\end{bmatrix}}+u{\begin{bmatrix}x_{4}-x_{3}\\y_{4}-y_{3}\stop{bmatrix}}}

(where t and u are real numbers). The intersection point of the lines is constitute with ane of the following values of t or u, where

t = | x one x 3 ten 3 x 4 y 1 y 3 y 3 y 4 | | 10 1 x 2 x 3 x 4 y 1 y 2 y 3 y 4 | = ( ten 1 x three ) ( y three y 4 ) ( y i y 3 ) ( x iii x 4 ) ( 10 1 x 2 ) ( y 3 y 4 ) ( y 1 y ii ) ( x 3 ten 4 ) {\displaystyle t={\frac {\begin{vmatrix}x_{1}-x_{iii}&x_{3}-x_{four}\\y_{one}-y_{3}&y_{three}-y_{four}\end{vmatrix}}{\brainstorm{vmatrix}x_{i}-x_{2}&x_{iii}-x_{iv}\\y_{1}-y_{2}&y_{3}-y_{4}\stop{vmatrix}}}={\frac {(x_{1}-x_{3})(y_{3}-y_{iv})-(y_{i}-y_{three})(x_{3}-x_{4})}{(x_{one}-x_{2})(y_{3}-y_{4})-(y_{1}-y_{2})(x_{3}-x_{4})}}}

and

u = | x one ten iii x 1 x 2 y ane y 3 y 1 y two | | x one ten 2 x 3 x four y 1 y 2 y 3 y four | = ( x i x 3 ) ( y 1 y two ) ( y 1 y 3 ) ( x one 10 ii ) ( x i x ii ) ( y 3 y 4 ) ( y 1 y 2 ) ( x three ten iv ) , {\displaystyle u={\frac {\begin{vmatrix}x_{1}-x_{iii}&x_{i}-x_{2}\\y_{one}-y_{3}&y_{ane}-y_{2}\end{vmatrix}}{\begin{vmatrix}x_{1}-x_{2}&x_{3}-x_{four}\\y_{one}-y_{2}&y_{3}-y_{4}\end{vmatrix}}}={\frac {(x_{1}-x_{3})(y_{ane}-y_{2})-(y_{one}-y_{three})(x_{i}-x_{2})}{(x_{1}-x_{2})(y_{three}-y_{4})-(y_{1}-y_{ii})(x_{3}-x_{four})}},}

with:

( P ten , P y ) = ( x one + t ( x two x 1 ) , y 1 + t ( y two y ane ) ) or ( P x , P y ) = ( 10 3 + u ( x four 10 3 ) , y 3 + u ( y 4 y three ) ) {\displaystyle (P_{x},P_{y})=(x_{1}+t(x_{2}-x_{1}),\;y_{i}+t(y_{2}-y_{1}))\quad {\text{or}}\quad (P_{x},P_{y})=(x_{iii}+u(x_{4}-x_{three}),\;y_{3}+u(y_{4}-y_{3}))}

There volition be an intersection if 0.0 ≤t ≤ 1.0 and 0.0 ≤u ≤ 1.0. The intersection bespeak falls inside the commencement line segment if 0.0 ≤t ≤ 1.0, and it falls within the 2d line segment if 0.0 ≤u ≤ 1.0. These inequalities can be tested without the demand for division, allowing rapid determination of the existence of any line segment intersection earlier calculating its exact bespeak.[2]

Given two line equations [edit]

The 10 {\displaystyle 10} and y {\displaystyle y} coordinates of the point of intersection of two not-vertical lines tin can easily be found using the post-obit substitutions and rearrangements.

Suppose that ii lines have the equations y = a x + c {\displaystyle y=ax+c} and y = b x + d {\displaystyle y=bx+d} where a {\displaystyle a} and b {\displaystyle b} are the slopes (gradients) of the lines and where c {\displaystyle c} and d {\displaystyle d} are the y-intercepts of the lines. At the point where the two lines intersect (if they do), both y {\displaystyle y} coordinates will be the same, hence the post-obit equality:

a x + c = b 10 + d . {\displaystyle ax+c=bx+d.}

Nosotros can rearrange this expression in order to extract the value of 10 {\displaystyle x} ,

a x b 10 = d c , {\displaystyle ax-bx=d-c,}

and and then,

x = d c a b . {\displaystyle x={\frac {d-c}{a-b}}.}

To observe the y coordinate, all we need to exercise is substitute the value of x into either one of the ii line equations, for example, into the first:

y = a d c a b + c . {\displaystyle y=a{\frac {d-c}{a-b}}+c.}

Hence, the point of intersection is

P ( d c a b , a d c a b + c ) . {\displaystyle P\left({\frac {d-c}{a-b}},a{\frac {d-c}{a-b}}+c\correct).}

Notation if a = b so the two lines are parallel. If cd as well, the lines are different and there is no intersection, otherwise the two lines are identical.

Using homogeneous coordinates [edit]

By using homogeneous coordinates, the intersection point of two implicitly defined lines tin can be adamant quite easily. In 2d, every point can be defined as a project of a 3D point, given every bit the ordered triple ( x , y , w ) {\displaystyle (ten,y,w)} . The mapping from 3D to 2nd coordinates is ( x , y ) = ( x / w , y / w ) {\displaystyle (10',y')=(x/west,y/w)} . We tin can catechumen 2d points to homogeneous coordinates by defining them every bit ( x , y , i ) {\displaystyle (x,y,ane)} .

Assume that nosotros want to find intersection of two space lines in ii-dimensional space, defined equally a 1 x + b ane y + c 1 = 0 {\displaystyle a_{i}x+b_{1}y+c_{1}=0} and a 2 x + b 2 y + c two = 0 {\displaystyle a_{2}x+b_{two}y+c_{ii}=0} . Nosotros can correspond these two lines in line coordinates every bit U one = ( a 1 , b ane , c one ) {\displaystyle U_{ane}=(a_{one},b_{1},c_{1})} and U two = ( a 2 , b two , c 2 ) {\displaystyle U_{2}=(a_{two},b_{2},c_{2})} ,

The intersection P {\displaystyle P'} of two lines is then simply given by,[three]

P = ( a p , b p , c p ) = U one × U ii = ( b 1 c two b ii c i , a ii c ane a 1 c ii , a 1 b 2 a ii b i ) {\displaystyle P'=(a_{p},b_{p},c_{p})=U_{one}\times U_{2}=(b_{1}c_{two}-b_{2}c_{i},a_{2}c_{1}-a_{1}c_{2},a_{i}b_{2}-a_{two}b_{1})}

If c p = 0 {\displaystyle c_{p}=0} the lines practise not intersect.

More than two lines [edit]

The intersection of two lines tin be generalized to involve boosted lines. Existence of and expression for the n-line intersection trouble are equally follows.

In two dimensions [edit]

In 2 dimensions, more than two lines almost certainly do not intersect at a single point. To determine if they do and, if so, to find the intersection betoken, write the i-th equation (i = 1, …,northward) every bit [ a i 1 a i 2 ] [ 10 y ] T = b i , {\displaystyle {\brainstorm{bmatrix}a_{i1}&a_{i2}\end{bmatrix}}{\begin{bmatrix}10&y\end{bmatrix}}^{\mathsf {T}}=b_{i},} and stack these equations into matrix form as

A due west = b , {\displaystyle Aw=b,}

where the i-th row of the n × ii matrix A is ( a i 1 , a i two ) {\displaystyle (a_{i1},a_{i2})} , w is the ii × 1 vector (10, y)T, and the i-th element of the column vector b is b i . If A has independent columns, its rank is 2. Then if and only if the rank of the augmented matrix [A | b] is likewise 2, there exists a solution of the matrix equation and thus an intersection betoken of the northward lines. The intersection point, if information technology exists, is given by

w = A g b = ( A T A ) 1 A T b , {\displaystyle due west=A^{1000}b=\left(A^{\mathsf {T}}A\correct)^{-1}A^{\mathsf {T}}b,}

where A g {\displaystyle A^{g}} is the Moore-Penrose generalized inverse of A {\displaystyle A} (which has the class shown because A has total column rank). Alternatively, the solution tin can exist found past jointly solving any two contained equations. But if the rank of A is only i, then if the rank of the augmented matrix is two at that place is no solution only if its rank is i and then all of the lines coincide with each other.

In three dimensions [edit]

The to a higher place approach tin can be readily extended to three dimensions. In iii or more than dimensions, even two lines near certainly do not intersect; pairs of non-parallel lines that do not intersect are called skew lines. But if an intersection does be it can be found, every bit follows.

In three dimensions a line is represented by the intersection of two planes, each of which has an equation of the form [ a i 1 a i 2 a i 3 ] [ x y z ] T = b i . {\displaystyle {\begin{bmatrix}a_{i1}&a_{i2}&a_{i3}\stop{bmatrix}}{\begin{bmatrix}ten&y&z\end{bmatrix}}^{\mathsf {T}}=b_{i}.} Thus a set of n lines tin exist represented past iin equations in the three-dimensional coordinate vector west = (10, y, z)T:

A w = b {\displaystyle Aw=b}

where at present A is 2n × 3 and b is iin × i. As earlier there is a unique intersection point if and merely if A has full column rank and the augmented matrix [A | b] does not, and the unique intersection if information technology exists is given by

due west = ( A T A ) i A T b . {\displaystyle west=\left(A^{\mathsf {T}}A\right)^{-ane}A^{\mathsf {T}}b.}

Nearest points to skew lines [edit]

In two or more than dimensions, we can usually find a indicate that is mutually closest to 2 or more lines in a least-squares sense.

In two dimensions [edit]

In the two-dimensional instance, first, stand for line i as a point, p i {\displaystyle p_{i}} , on the line and a unit normal vector, n ^ i {\displaystyle {\lid {north}}_{i}} , perpendicular to that line. That is, if 10 1 {\displaystyle x_{1}} and ten 2 {\displaystyle x_{2}} are points on line 1, so let p one = 10 1 {\displaystyle p_{1}=x_{1}} and let

n ^ one := [ 0 1 1 0 ] 10 2 x 1 x 2 ten 1 {\displaystyle {\hat {n}}_{one}:={\begin{bmatrix}0&-1\\ane&0\end{bmatrix}}{\frac {x_{2}-x_{ane}}{\|x_{2}-x_{one}\|}}}

which is the unit vector along the line, rotated by 90 degrees.

Note that the altitude from a betoken, x to the line ( p , north ^ ) {\displaystyle (p,{\chapeau {north}})} is given by

d ( x , ( p , n ) ) = | ( 10 p ) n ^ | = | ( x p ) due north ^ | = | due north ^ ( x p ) | = ( x p ) due north ^ due north ^ ( x p ) . {\displaystyle d(x,(p,n))=|(10-p)\cdot {\hat {north}}|=\left|(ten-p)^{\acme }{\hat {north}}\right|=\left|{\lid {north}}^{\superlative }(10-p)\right|={\sqrt {(x-p)^{\height }{\lid {north}}{\hat {n}}^{\top }(x-p)}}.}

And and then the squared distance from a point, x, to a line is

d ( 10 , ( p , northward ) ) 2 = ( x p ) ( n ^ northward ^ ) ( x p ) . {\displaystyle d(x,(p,due north))^{ii}=(ten-p)^{\top }\left({\chapeau {n}}{\hat {n}}^{\peak }\correct)(ten-p).}

The sum of squared distances to many lines is the cost office:

Eastward ( x ) = i ( x p i ) ( due north ^ i n ^ i ) ( x p i ) . {\displaystyle Due east(x)=\sum _{i}(x-p_{i})^{\top }\left({\chapeau {n}}_{i}{\hat {n}}_{i}^{\superlative }\right)(10-p_{i}).}

This can be rearranged:

E ( 10 ) = i x n ^ i n ^ i x x northward ^ i n ^ i p i p i n ^ i n ^ i x + p i n ^ i n ^ i p i = x ( i n ^ i n ^ i ) 10 2 x ( i n ^ i n ^ i p i ) + i p i n ^ i n ^ i p i . {\displaystyle {\begin{aligned}East(ten)&=\sum _{i}x^{\top }{\hat {n}}_{i}{\lid {n}}_{i}^{\top }10-x^{\summit }{\lid {northward}}_{i}{\hat {n}}_{i}^{\acme }p_{i}-p_{i}^{\top }{\hat {n}}_{i}{\hat {northward}}_{i}^{\top }ten+p_{i}^{\acme }{\hat {n}}_{i}{\lid {n}}_{i}^{\top }p_{i}\\&=x^{\top }\left(\sum _{i}{\hat {n}}_{i}{\chapeau {due north}}_{i}^{\top }\right)x-2x^{\top }\left(\sum _{i}{\hat {due north}}_{i}{\hat {due north}}_{i}^{\summit }p_{i}\right)+\sum _{i}p_{i}^{\top }{\hat {n}}_{i}{\hat {n}}_{i}^{\top }p_{i}.\stop{aligned}}}

To find the minimum, we differentiate with respect to ten and set the upshot equal to the nothing vector:

Eastward ( 10 ) x = 0 = 2 ( i n ^ i n ^ i ) x two ( i due north ^ i n ^ i p i ) {\displaystyle {\frac {\partial E(x)}{\fractional x}}=0=ii\left(\sum _{i}{\lid {north}}_{i}{\hat {northward}}_{i}^{\top }\right)ten-2\left(\sum _{i}{\hat {n}}_{i}{\hat {northward}}_{i}^{\top }p_{i}\correct)}

and then

( i n ^ i n ^ i ) x = i due north ^ i n ^ i p i {\displaystyle \left(\sum _{i}{\hat {n}}_{i}{\hat {n}}_{i}^{\height }\correct)x=\sum _{i}{\hat {north}}_{i}{\chapeau {n}}_{i}^{\top }p_{i}}

and so

x = ( i north ^ i n ^ i ) 1 ( i n ^ i n ^ i p i ) . {\displaystyle x=\left(\sum _{i}{\chapeau {due north}}_{i}{\lid {due north}}_{i}^{\top }\right)^{-1}\left(\sum _{i}{\hat {n}}_{i}{\lid {due north}}_{i}^{\acme }p_{i}\right).}

In more than ii dimensions [edit]

While due north ^ i {\displaystyle {\hat {n}}_{i}} is non well-defined in more than two dimensions, this can be generalized to any number of dimensions past noting that n ^ i n ^ i {\displaystyle {\lid {northward}}_{i}{\chapeau {n}}_{i}^{\top }} is simply the (symmetric) matrix with all eigenvalues unity except for a zero eigenvalue in the direction along the line providing a seminorm on the distance between p i {\displaystyle p_{i}} and another point giving the altitude to the line. In any number of dimensions, if v ^ i {\displaystyle {\hat {v}}_{i}} is a unit vector along the i-thursday line, then

northward ^ i n ^ i {\displaystyle {\hat {north}}_{i}{\hat {n}}_{i}^{\top }} becomes I v ^ i 5 ^ i {\displaystyle I-{\chapeau {v}}_{i}{\hat {v}}_{i}^{\top }}

where I is the identity matrix, and and then[4]

10 = ( i I five ^ i v ^ i ) ane ( i ( I 5 ^ i v ^ i ) p i ) . {\displaystyle x=\left(\sum _{i}I-{\hat {5}}_{i}{\hat {v}}_{i}^{\top }\right)^{-1}\left(\sum _{i}\left(I-{\hat {v}}_{i}{\chapeau {v}}_{i}^{\top }\right)p_{i}\right).}

General derivation [edit]

In order to find the intersection point of a set of lines, we calculate the bespeak with minimum distance to them. Each line is defined past an origin a i {\displaystyle a_{i}} and a unit of measurement management vector, north i {\displaystyle n_{i}} . The square of the distance from a signal p {\displaystyle p} to one of the lines is given from Pythagoras:

d i 2 = p a i 2 [ ( p a i ) T northward i ] 2 = ( p a i ) T ( p a i ) [ ( p a i ) T n i ] two {\displaystyle d_{i}^{ii}=\left\|p-a_{i}\correct\|^{2}-\left[\left(p-a_{i}\right)^{\mathsf {T}}*n_{i}\correct]^{ii}=\left(p-a_{i}\right)^{\mathsf {T}}*\left(p-a_{i}\right)-\left[\left(p-a_{i}\correct)^{\mathsf {T}}*n_{i}\right]^{ii}}

Where : ( p a i ) T northward i {\displaystyle {\left(p-a_{i}\right)}^{\mathsf {T}}*n_{i}} is the project of ( p a i ) {\displaystyle \left(p-{{a}_{i}}\right)} on the line i {\displaystyle i} . The sum of distances to the square to all lines is:

i d i 2 = i [ ( p a i ) T ( p a i ) [ ( p a i ) T n i ] 2 ] {\displaystyle \sum _{i}d_{i}^{2}=\sum _{i}\left[{\left(p-a_{i}\right)^{\mathsf {T}}}*\left(p-a_{i}\right)-{\left[\left(p-a_{i}\right)^{\mathsf {T}}*n_{i}\right]^{2}}\correct]}

To minimize this expression, nosotros differentiate it with respect to p {\displaystyle p} .

i [ 2 ( p a i ) 2 [ ( p a i ) T n i ] n i ] = 0 {\displaystyle \sum _{i}\left[2*\left(p-a_{i}\right)-2*\right[{{\left(p-a_{i}\right)}^{\mathsf {T}}}*n_{i}]*n_{i}]=0}
i ( p a i ) = i [ n i n i T ] ( p a i ) {\displaystyle \sum _{i}\left(p-a_{i}\right)=\sum _{i}\left[n_{i}*n_{i}^{\mathsf {T}}\right]*\left(p-a_{i}\right)}

Information technology results:

[ i [ I n i n i T ] ] p = i [ I north i due north i T ] a i {\displaystyle \left[\sum _{i}\left[I-{n_{i}}*{n_{i}}^{\mathsf {T}}\correct]\right]*p=\sum _{i}\left[I-{n_{i}}*{n_{i}}^{\mathsf {T}}\right]*{a_{i}}}

Where I {\displaystyle I} is the identity matrix. This is a matrix Southward p = C {\displaystyle South*p=C} , with solution p = Southward + C {\displaystyle p={S^{+}}*C} , where Southward + {\displaystyle {S}^{+}} is the pseudo-inverse of S {\displaystyle S} .

See also [edit]

  • Line segment intersection
  • Line intersection in projective space
  • Distance between two parallel lines
  • Altitude from a betoken to a line
  • Line–plane intersection
  • Parallel postulate
  • Triangulation (calculator vision)
  • Intersection (Euclidean geometry) § Ii line segments

References [edit]

  1. ^ "Weisstein, Eric W. "Line-Line Intersection." From MathWorld". A Wolfram Web Resources . Retrieved 2008-01-10 .
  2. ^ Antonio, Franklin (1992). "Chapter IV.6: Faster Line Segment Intersection". In Kirk, David (ed.). Graphics Gems Iii. Bookish Printing, Inc. pp. 199–202. ISBN0-12-059756-Ten.
  3. ^ "Homogeneous coordinates". robotics.stanford.edu . Retrieved 2015-08-xviii .
  4. ^ Traa, Johannes. "Least-Squares Intersection of Lines" (PDF) . Retrieved 30 Baronial 2022.

External links [edit]

  • Distance between Lines and Segments with their Closest Bespeak of Arroyo, applicable to ii, 3, or more dimensions.

Source: https://en.wikipedia.org/wiki/Line%E2%80%93line_intersection

Posted by: cummingstheplain.blogspot.com

0 Response to "How To Find Intersection Of 2 Lines"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel