![]() | ||
In geometry, an intersection curve is, in the most simple case, the intersection line of two non-parallel planes in Euclidean 3-space. In general, an intersection curve consists of the common points of two transversally intersecting surfaces, meaning that at any common point the surface normals are not parallel. This restriction excludes cases where the surfaces are touching or have surface parts in common.
Contents
- Intersection line of two planes
- Intersection curve of a plane and a quadric
- Intersection curve of a cylinder or cone and a quadric
- General case marching method
- Application contour line
- Intersection curve of two polyhedrons
- References
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 (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
Wanted: A parametric representation
The direction of the line one gets from the crossproduct of the normal vectors:
A point
Example:
The normal vectors are
is a parametric representation of the line of intersection.
Remarks:
- In special cases, the determination of the intersection line by the Gaussian elimination may be faster.
- If one (or both) of the planes is given parametrically by
x → = p → + s v → + t w → n → = v → × w → n → ⋅ x → = n → ⋅ 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. 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.
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. 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 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
Application: contour line
A point
For quadrics,
The contour line of the surface
Remark: The determination of a contour polygon of a parametric surface
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. See picture of intersecting tori.