HOME

TheInfoList



OR:

In analytic
geometry Geometry (; ) is, with arithmetic, one of the oldest branches of mathematics. It is concerned with properties of space such as the distance, shape, size, and relative position of figures. A mathematician who works in the field of geometry is ...
, the intersection of a
line Line most often refers to: * Line (geometry), object with zero thickness and curvature that stretches to infinity * Telephone line, a single-user circuit on a telephone communication system Line, lines, The Line, or LINE may also refer to: Art ...
and a
plane Plane(s) most often refers to: * Aero- or airplane, a powered, fixed-wing aircraft * Plane (geometry), a flat, 2-dimensional surface Plane or planes may also refer to: Biology * Plane (tree) or ''Platanus'', wetland native plant * ''Planes' ...
in
three-dimensional space Three-dimensional space (also: 3D space, 3-space or, rarely, tri-dimensional space) is a geometric setting in which three values (called ''parameters'') are required to determine the position of an element (i.e., point). This is the informal ...
can be the
empty set In mathematics, the empty set is the unique set having no elements; its size or cardinality (count of elements in a set) is zero. Some axiomatic set theories ensure that the empty set exists by including an axiom of empty set, while in other ...
, a point, or a line. It is the entire line if that line is embedded in the plane, and is the empty set if the line is parallel to the plane but outside it. Otherwise, the line cuts through the plane at a single point. Distinguishing these cases, and determining equations for the point and line in the latter cases, have use in computer graphics,
motion planning Motion planning, also path planning (also known as the navigation problem or the piano mover's problem) is a computational problem to find a sequence of valid configurations that moves the object from the source to destination. The term is use ...
, and
collision detection Collision detection is the computational problem of detecting the intersection (Euclidean geometry), intersection of two or more objects. Collision detection is a classic issue of computational geometry and has applications in various computing ...
.


Algebraic form

In
vector notation In mathematics and physics, vector notation is a commonly used notation for representing vectors, which may be Euclidean vectors, or more generally, members of a vector space. For representing a vector, the common typographic convention is ...
, a plane can be expressed as the set of points \mathbf for which :(\mathbf-\mathbf)\cdot\mathbf = 0 where \mathbf is a
normal vector In geometry, a normal is an object such as a line, ray, or vector that is perpendicular to a given object. For example, the normal line to a plane curve at a given point is the (infinite) line perpendicular to the tangent line to the curve at ...
to the plane and \mathbf is a point on the plane. (The notation \mathbf\cdot\mathbf denotes the
dot product In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a scalar as a result". It is also used sometimes for other symmetric bilinear forms, for example in a pseudo-Euclidean space. is an algeb ...
of the vectors \mathbf and \mathbf.) The vector equation for a line is :\mathbf = \mathbf + \mathbf\ d \quad d\in\mathbb where \mathbf is a vector in the direction of the line, \mathbf is a point on the line, and d is a scalar in the
real number In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every r ...
domain. Substituting the equation for the line into the equation for the plane gives :((\mathbf + \mathbf\ d) - \mathbf)\cdot\mathbf = 0. Expanding gives :(\mathbf\cdot\mathbf)\ d + (\mathbf-\mathbf)\cdot\mathbf = 0. And solving for d gives :d = . If \mathbf\cdot\mathbf = 0 then the line and plane are parallel. There will be two cases: if (\mathbf-\mathbf)\cdot\mathbf =0 then the line is contained in the plane, that is, the line intersects the plane at each point of the line. Otherwise, the line and plane have no intersection. If \mathbf\cdot\mathbf \ne 0 there is a single point of intersection. The value of d can be calculated and the point of intersection, \mathbf, is given by :\mathbf = \mathbf + \mathbf\ d.


Parametric form

A line is described by all points that are a given direction from a point. A general point on a line passing through points \mathbf_a=(x_a, y_a, z_a) and \mathbf_b=(x_b, y_b, z_b) can be represented as :\mathbf_a + \mathbf_ t, \quad t\in \mathbb, where \mathbf_=\mathbf_b - \mathbf_a is the vector pointing from \mathbf_a to \mathbf_b. Similarly a general point on a plane determined by the triangle defined by the points \mathbf_0=(x_0, y_0, z_0), \mathbf_1=(x_1, y_1, z_1) and \mathbf_2=(x_2, y_2, z_2) can be represented as :\mathbf_0 + \mathbf_ u + \mathbf_ v, \quad u,v\in\mathbb, where \mathbf_ = \mathbf_1 - \mathbf_0 is the vector pointing from \mathbf_0 to \mathbf_1, and \mathbf_ = \mathbf_2 - \mathbf_0 is the vector pointing from \mathbf_0 to \mathbf_2. The point at which the line intersects the plane is therefore described by setting the point on the line equal to the point on the plane, giving the parametric equation: :\mathbf_a + \mathbf_ t = \mathbf_0 + \mathbf_ u + \mathbf_ v. This can be rewritten as :\mathbf_a - \mathbf_0 = - \mathbf_ t + \mathbf_ u + \mathbf_ v, which can be expressed in matrix form as : \begin \mathbf_a - \mathbf_0 \end = \begin - \mathbf_ & \mathbf_ & \mathbf_ \end \begin t \\ u \\ v \end, where the vectors are written as column vectors. This produces a
system of linear equations In mathematics, a system of linear equations (or linear system) is a collection of one or more linear equations involving the same variables. For example, :\begin 3x+2y-z=1\\ 2x-2y+4z=-2\\ -x+\fracy-z=0 \end is a system of three equations in t ...
which can be solved for t, u and v. If the solution satisfies the condition t \in ,1, then the intersection point is on the line segment between \mathbf_a and \mathbf_b, otherwise it is elsewhere on the line. Likewise, if the solution satisfies u,v \in ,1, then the intersection point is in the
parallelogram In Euclidean geometry, a parallelogram is a simple (non- self-intersecting) quadrilateral with two pairs of parallel sides. The opposite or facing sides of a parallelogram are of equal length and the opposite angles of a parallelogram are of equ ...
formed by the point \mathbf_0 and vectors \mathbf_ and \mathbf_. If the solution additionally satisfies (u+v) \leq 1, then the intersection point lies in the triangle formed by the three points \mathbf_0, \mathbf_1 and \mathbf_2. The determinant of the matrix can be calculated as : \det(\begin - \mathbf_ & \mathbf_ & \mathbf_ \end) = -\mathbf_ \cdot (\mathbf_ \times \mathbf_). If the determinant is zero, then there is no unique solution; the line is either in the plane or parallel to it. If a unique solution exists (determinant is not 0), then it can be found by inverting the matrix and rearranging: : \begin t \\ u \\ v \end = \begin - \mathbf_ & \mathbf_ & \mathbf_ \end^ \begin \mathbf_a - \mathbf_0 \end, which expands to : \begin t \\ u \\ v \end = \frac \begin ^\mathrm \\ ^\mathrm \\ ^\mathrm \end \begin \mathbf_a - \mathbf_0 \end and then to : \begin t \\ u \\ v \end = \frac \begin \cdot (\mathbf_a - \mathbf_0) \\ \cdot (\mathbf_a - \mathbf_0) \\ \cdot (\mathbf_a - \mathbf_0) \end, thus giving the solutions: : t = \frac : u = \frac : v = \frac. The point of intersection is then equal to :\mathbf_a + \mathbf_t


Uses

In the ray tracing method of computer graphics a surface can be represented as a set of pieces of planes. The intersection of a ray of light with each plane is used to produce an image of the surface. In vision-based
3D reconstruction In computer vision and computer graphics, 3D reconstruction is the process of capturing the shape and appearance of real objects. This process can be accomplished either by active or passive methods. If the model is allowed to change its shape i ...
, a subfield of computer vision, depth values are commonly measured by so-called triangulation method, which finds the intersection between light plane and ray reflected toward camera. The algorithm can be generalised to cover intersection with other planar figures, in particular, the intersection of a polyhedron with a line.


See also

* Plücker coordinates#Plane-line meet calculating the intersection when the line is expressed by Plücker coordinates. *
Plane–plane intersection In mathematics, a plane is a Euclidean ( flat), two-dimensional surface that extends indefinitely. A plane is the two-dimensional analogue of a point (zero dimensions), a line (one dimension) and three-dimensional space. Planes can arise as ...


External links


Intersections of Lines, Segments and Planes (2D & 3D) from GeomAlgorithms.com
{{DEFAULTSORT:Line-Plane Intersection Euclidean geometry Computational physics Geometric algorithms Geometric intersection cs:Analytická geometrie#Vzájemná poloha dvou rovin v třírozměrném prostoru