Intersection curve
   HOME

TheInfoList



OR:

In
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 c ...
, an intersection curve is a
curve In mathematics, a curve (also called a curved line in older texts) is an object similar to a line (geometry), line, but that does not have to be Linearity, straight. Intuitively, a curve may be thought of as the trace left by a moving point (ge ...
that is common to two geometric objects. In the simplest case, the
intersection In mathematics, the intersection of two or more objects is another object consisting of everything that is contained in all of the objects simultaneously. For example, in Euclidean geometry, when two lines in a plane are not parallel, their i ...
of two non-parallel planes in Euclidean 3-space is 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: Arts ...
. In general, an intersection curve consists of the common points of two ''transversally'' intersecting
surface A surface, as the term is most generally used, is the outermost or uppermost layer of a physical object or space. It is the portion or region of the object that can first be perceived by an observer using the senses of sight and touch, and is t ...
s, meaning that at any common point the
surface normal 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 ...
s are not parallel. This restriction excludes cases where the surfaces are touching or have surface parts in common. The analytic determination of the intersection curve of two surfaces is easy only in simple cases; for example: a) the intersection of two planes, b) plane section of a
quadric In mathematics, a quadric or quadric surface (quadric hypersurface in higher dimensions), is a generalization of conic sections (ellipses, parabolas, and hyperbolas). It is a hypersurface (of dimension ''D'') in a -dimensional space, and it is de ...
(sphere, cylinder, cone, etc.), c) intersection of two quadrics in special cases. For the general case, literature provides algorithms, in order to calculate points of the intersection curve of two surfaces.


Intersection line of two planes

Given: two planes \varepsilon_i: \quad \vec n_i\cdot\vec x=d_i, \quad i=1,2, \quad \vec n_1,\vec n_2
linearly independent In the theory of vector spaces, a set of vectors is said to be if there is a nontrivial linear combination of the vectors that equals the zero vector. If no such linear combination exists, then the vectors are said to be . These concepts are ...
, i.e. the planes are not parallel. Wanted: A parametric representation \vec x= \vec p + t\vec r of the intersection line. The direction of the line one gets from the crossproduct of the normal vectors: \vec r=\vec n_1\times\vec n_2. A point P:\vec p of the intersection line can be determined by intersecting the given planes \varepsilon_1, \varepsilon_2 with the plane \varepsilon_3: \vec x = s_1\vec n_1 + s_2\vec n_2, which is perpendicular to \varepsilon_1 and \varepsilon_2. Inserting the parametric representation of \varepsilon_3 into the equations of \varepsilon_1 und \varepsilon_2 yields the parameters s_1 and s_2. P: \vec p= \frac \vec n_1 + \frac \vec n_2\ . ''Example:'' \varepsilon_1:\ x+2y+z=1, \quad \varepsilon_2:\ 2x-3y+2z=2 \ . The normal vectors are \vec n_1=(1,2,1)^\top, \ \vec n_2=(2,-3,2)^\top and the direction of the intersection line is \vec r=\vec n_1\times\vec n_2=(7,0,-7)^\top. For point P:\vec p, one gets from the formula above \vec p=\tfrac(1,0,1)^\top \ . Hence :\vec x=\tfrac(1,0,1)^\top + t (7,0,-7)^\top is a parametric representation of the line of intersection. ''Remarks:'' # In special cases, the determination of the intersection line by the
Gaussian elimination In mathematics, Gaussian elimination, also known as row reduction, is an algorithm for solving systems of linear equations. It consists of a sequence of operations performed on the corresponding matrix of coefficients. This method can also be used ...
may be faster. # If one (or both) of the planes is given parametrically by \vec x= \vec p + s\vec v + t \vec w , one gets \vec n = \vec v \times \vec w as normal vector and the equation is: \vec n\cdot \vec x = \vec n\cdot \vec p.


Intersection curve of a plane and a quadric

In any case, the intersection curve of a plane and a quadric (sphere, cylinder, cone,...) is a
conic section In mathematics, a conic section, quadratic curve or conic is a curve obtained as the intersection of the surface of a cone with a plane. The three types of conic section are the hyperbola, the parabola, and the ellipse; the circle is a specia ...
. For details, see. An important application of plane sections of quadrics is contour lines of quadrics. In any case (parallel or central projection), the contour lines of quadrics are conic sections. See below and Umrisskonstruktion.


Intersection curve of a cylinder or cone and a quadric

It is an easy task to determine the intersection points of a line with a quadric (i.e. line-sphere); one only has to solve a quadratic equation. So, any intersection curve of a cone or a cylinder (they are generated by lines) with a quadric consists of intersection points of lines and the quadric (see pictures). The pictures show the possibilities which occur when intersecting a cylinder and a sphere: # In the first case, there exists just one intersection curve. # The second case shows an example where the intersection curve consists of two parts. # In the third case, the sphere and cylinder touch each other at one singular point. The intersection curve is self-intersecting. # If the cylinder and sphere have the same radius and the midpoint of the sphere is located on the axis of the cylinder, then the intersection curve consists of singular points (a circle) only. File:Is-spherecyl5-s.svg, Intersection of a sphere and a cylinder: one part File:Is-spherecyl4-s.svg, Intersection of a sphere and a cylinder: two parts File:Is-spherecyl-sing-s.svg, Intersection of a sphere and a cylinder: curve with one singular point File:Is-spherecyl3-s.svg, Intersection of a sphere and a cylinder: touching in a singular curve


General case: marching method

In general, there are no special features to exploit. One possibility to determine a polygon of points of the intersection curve of two surfaces is the marching method (see section
References Reference is a relationship between objects in which one object designates, or acts as a means by which to connect to or link to, another object. The first object in this relation is said to ''refer to'' the second object. It is called a ''name'' ...
). It consists of two essential parts: # The first part is the ''curve point algorithm'', which determines to a starting point in the vicinity of the two surfaces a point on the intersection curve. The algorithm depends essentially on the representation of the given surfaces. The simplest situation is where both surfaces are implicitly given by equations f_1(x,y,z)=0,\ f_2(x,y,z)=0, because the functions provide information about the distances to the surfaces and show via the gradients the way to the surfaces. If one or both the surfaces are parametrically given, the advantages of the implicit case do not exist. In this case, the curve point algorithm uses time-consuming procedures like the determination of the footpoint of a
perpendicular In elementary geometry, two geometric objects are perpendicular if they intersect at a right angle (90 degrees or π/2 radians). The condition of perpendicularity may be represented graphically using the ''perpendicular symbol'', ⟂. It can ...
on a surface. # The second part of the marching method starts with a first point on the intersection curve, determines the direction of the intersection curve using the surface normals, then makes a step with a given step length into the direction of the tangent line, in order to get a starting point for a second curve point, ... (see picture). For details of the marching algorithm, see. The marching method produces for any starting point a polygon on the intersection curve. If the intersection curve consists of two parts, the algorithm has to be performed using a second convenient starting point. The algorithm is rather robust. Usually, singular points are no problem, because the chance to meet exactly a singular point is very small (see picture: intersection of a cylinder and the surface x^4+y^4+z^4=1). File:Is-sphere4cyl1-s.svg, Intersection of x^4+y^4+z^4=1 with cylinder: two parts File:Is-sphere4cyl2-s.svg, Intersection of x^4+y^4+z^4=1 with cylinder: one part File:Is-sphere4cyl3-s.svg, Intersection of x^4+y^4+z^4=1 with cylinder: one singular point


Application: contour line

A point (x,y,z) of the contour line of an implicit surface with equation f(x,y,z)=0 and parallel projection with direction \vec v has to fulfill the condition g(x,y,z)=\nabla f(x,y,z)\cdot \vec v=0, because \vec v has to be a tangent vector, which means any contour point is a point of the intersection curve of the two implicit surfaces : f(x,y,z)=0 ,\ g(x,y,z)=0. For quadrics, g is always a linear function. Hence the contour line of a quadric is always a plane section (i.e. a conic section). The contour line of the surface f(x,y,z)=x^4+y^4+z^4-1=0 (see picture) was traced by the marching method. ''Remark:'' The determination of a contour polygon of a parametric surface \vec x = \vec x(s,t) needs tracing an implicit curve in parameter plane. : Condition for contour points: g(s,t)=(\vec x_s(s,t)\times \vec x_t(s,t))\cdot \vec v=0.


Intersection curve of two polyhedrons

The intersection curve of two polyhedrons is a polygon (see intersection of three houses). The display of a parametrically defined surface is usually done by mapping a rectangular net into 3-space. The spatial quadrangles are nearly flat. So, for the intersection of two parametrically defined surfaces, the algorithm for the intersection of two polyhedrons can be used.''Geometry and Algorithms for COMPUTER AIDED DESIGN''
p. 76 See picture of intersecting tori. {{-


See also

*
Intersection theory In mathematics, intersection theory is one of the main branches of algebraic geometry, where it gives information about the intersection of two subvarieties of a given variety. The theory for varieties is older, with roots in Bézout's theore ...


References


Further reading

*C:L: Bajaj, C.M. Hoffmann, R.E. Lynch: ''Tracing surface intersections'', Comp. Aided Geom. Design 5 (1988), p. 285-307. * R.E. Barnhill, S.N. Kersey: ''A Marching method for parametric surface/surface intersection'', Comp. Aided Geom. Design 7 (1990), p. 257-280. *R. Barnhill, G. Farin, M. Jordan, B. Piper: ''Surface/Surface intersection'', Computer Aided Geometric Design 4 (1987), p 3-16. Geometric intersection Curves