A parallel of a curve is the envelope of a family of congruent circles centered on the curve. It generalises the concept of parallel (straight) lines . It can also be defined as a curve whose points are at a constant normal distance from a given curve. [1] These two definitions are not entirely equivalent as the latter assumes smoothness, whereas the former does not. [2]
In computer-aided design the preferred term for a parallel curve is offset curve. [2] [3] [4] (In other geometric contexts, the term offset can also refer to translation. [5] ) Offset curves are important, for example, in numerically controlled machining, where they describe, for example, the shape of the cut made by a round cutting tool of a two-axis machine. The shape of the cut is offset from the trajectory of the cutter by a constant distance in the direction normal to the cutter trajectory at every point. [6]
In the area of 2D computer graphics known as vector graphics, the (approximate) computation of parallel curves is involved in one of the fundamental drawing operations, called stroking, which is typically applied to polylines or polybeziers (themselves called paths) in that field. [7]
Except in the case of a line or circle, the parallel curves have a more complicated mathematical structure than the progenitor curve. [1] For example, even if the progenitor curve is smooth, its offsets may not be so; this property is illustrated in the top figure, using a sine curve as progenitor curve. [2] In general, even if a curve is rational, its offsets may not be so. For example, the offsets of a parabola are rational curves, but the offsets of an ellipse or of a hyperbola are not rational, even though these progenitor curves themselves are rational. [3]
The notion also generalizes to 3D surfaces, where it is called an offset surface or parallel surface. [8] Increasing a solid volume by a (constant) distance offset is sometimes called dilation. [9] The opposite operation is sometimes called shelling. [8] Offset surfaces are important in numerically controlled machining, where they describe the shape of the cut made by a ball nose end mill of a three-axis machine. [10] Other shapes of cutting bits can be modelled mathematically by general offset surfaces. [11]
If there is a regular parametric representation of the given curve available, the second definition of a parallel curve (s. above) leads to the following parametric representation of the parallel curve with distance :
In cartesian coordinates:
The distance parameter may be negative. In this case, one gets a parallel curve on the opposite side of the curve (see diagram on the parallel curves of a circle). One can easily check that a parallel curve of a line is a parallel line in the common sense, and the parallel curve of a circle is a concentric circle.
If the given curve is polynomial (meaning that and are polynomials), then the parallel curves are usually not polynomial. In CAD area this is a drawback, because CAD systems use polynomials or rational curves. In order to get at least rational curves, the square root of the representation of the parallel curve has to be solvable. Such curves are called pythagorean hodograph curves and were investigated by R.T. Farouki. [14]
Generally the analytic representation of a parallel curve of an implicit curve is not possible. Only for the simple cases of lines and circles the parallel curves can be described easily. For example:
In general, presuming certain conditions, one can prove the existence of an oriented distance function . In practice one has to treat it numerically. [15] Considering parallel curves the following is true:
Example:
The diagram shows parallel curves of the implicit curve with equation
Remark: The curves are not parallel curves, because is not true in the area of interest.
And: [17]
When determining the cutting path of part with a sharp corner for machining, you must define the parallel (offset) curve to a given curve that has a discontinuous normal at the corner. Even though the given curve is not smooth at the sharp corner, its parallel curve may be smooth with a continuous normal, or it may have cusps when the distance from the curve matches the radius of curvature at the sharp corner.
As described above, the parametric representation of a parallel curve, , to a given curver, , with distance is:
At a sharp corner (), the normal to given by is discontinuous, meaning the one-sided limit of the normal from the left is unequal to the limit from the right . Mathematically,
However, we can define a normal fan [11] that provides an interpolant between and , and use in place of at the sharp corner:
The resulting definition of the parallel curve provides the desired behavior:
This section needs expansion. You can help by adding to it. (August 2014) |
In general, the parallel curve of a Bézier curve is not another Bézier curve, a result proved by Tiller and Hanson in 1984. [18] Thus, in practice, approximation techniques are used. Any desired level of accuracy is possible by repeatedly subdividing the curve, though better techniques require fewer subdivisions to attain the same level of accuracy. A 1997 survey by Elber, Lee and Kim [19] is widely cited, though better techniques have been proposed more recently. A modern technique based on curve fitting, with references and comparisons to other algorithms, as well as open source JavaScript source code, was published in a blog post [20] in September 2022.
Another efficient algorithm for offsetting is the level approach described by Kimmel and Bruckstein (1993). [21]
Offset surfaces are important in numerically controlled machining, where they describe the shape of the cut made by a ball nose end mill of a three-axis mill. [10] If there is a regular parametric representation of the given surface available, the second definition of a parallel curve (see above) generalizes to the following parametric representation of the parallel surface with distance :
Distance parameter may be negative, too. In this case one gets a parallel surface on the opposite side of the surface (see similar diagram on the parallel curves of a circle). One easily checks: a parallel surface of a plane is a parallel plane in the common sense and the parallel surface of a sphere is a concentric sphere.
Note the similarity to the geometric properties of parallel curves.
The problem generalizes fairly obviously to higher dimensions e.g. to offset surfaces, and slightly less trivially to pipe surfaces. [23] Note that the terminology for the higher-dimensional versions varies even more widely than in the planar case, e.g. other authors speak of parallel fibers, ribbons, and tubes. [24] For curves embedded in 3D surfaces the offset may be taken along a geodesic. [25]
Another way to generalize it is (even in 2D) to consider a variable distance, e.g. parametrized by another curve. [22] One can for example stroke (envelope) with an ellipse instead of circle [22] as it is possible for example in METAFONT. [26]
More recently Adobe Illustrator has added somewhat similar facility in version CS5, although the control points for the variable width are visually specified. [27] In contexts where it's important to distinguish between constant and variable distance offsetting the acronyms CDO and VDO are sometimes used. [9]
Assume you have a regular parametric representation of a curve, , and you have a second curve that can be parameterized by its unit normal, , where the normal of (this parameterization by normal exists for curves whose curvature is strictly positive or negative, and thus convex, smooth, and not straight). The parametric representation of the general offset curve of offset by is:
Note that the trival offset, , gives you ordinary parallel (aka, offset) curves.
General offset surfaces describe the shape of cuts made by a variety of cutting bits used by three-axis end mills in numerically controlled machining. [11] Assume you have a regular parametric representation of a surface, , and you have a second surface that can be parameterized by its unit normal, , where the normal of (this parameterization by normal exists for surfaces whose Gaussian curvature is strictly positive, and thus convex, smooth, and not flat). The parametric representation of the general offset surface of offset by is:
Note that the trival offset, , gives you ordinary parallel (aka, offset) surfaces.
Note the similarity to the geometric properties of general offset curves.
The geometric properties listed above for general offset curves and surfaces can be derived for offsets of arbitrary dimension. Assume you have a regular parametric representation of an n-dimensional surface, , where the dimension of is n-1. Also assume you have a second n-dimensional surface that can be parameterized by its unit normal, , where the normal of (this parameterization by normal exists for surfaces whose Gaussian curvature is strictly positive, and thus convex, smooth, and not flat). The parametric representation of the general offset surface of offset by is:
First, notice that the normal of the normal of by definition. Now, we'll apply the differential w.r.t. to , which gives us its tangent vectors spanning its tangent plane.
Notice, the tangent vectors for are the sum of tangent vectors for and its offset , which share the same unit normal. Thus, the general offset surface shares the same tangent plane and normal with and . That aligns with the nature of envelopes.
We now consider the Weingarten equations for the shape operator, which can be written as . If is invertable, . Recall that the principal curvatures of a surface are the eigenvalues of the shape operator, the principal curvature directions are its eigenvectors, the Gauss curvature is its determinant, and the mean curvature is half its trace. The inverse of the shape operator holds these same values for the radii of curvature.
Substituting into the equation for the differential of , we get:
Next, we use the Weingarten equations again to replace :
Then, we solve for and multiple both sides by to get back to the Weingarten equations, this time for :
Thus, , and inverting both sides gives us, .
In mathematics, an ellipse is a plane curve surrounding two focal points, such that for all points on the curve, the sum of the two distances to the focal points is a constant. It generalizes a circle, which is the special type of ellipse in which the two focal points are the same. The elongation of an ellipse is measured by its eccentricity , a number ranging from to .
In mathematics, a parabola is a plane curve which is mirror-symmetrical and is approximately U-shaped. It fits several superficially different mathematical descriptions, which can all be proved to define exactly the same curves.
In mathematics, curvature is any of several strongly related concepts in geometry that intuitively measure the amount by which a curve deviates from being a straight line or by which a surface deviates from being a plane. If a curve or surface is contained in a larger space, curvature can be defined extrinsically relative to the ambient space. Curvature of Riemannian manifolds of dimension at least two can be defined intrinsically without reference to a larger space.
Streamlines, streaklines and pathlines are field lines in a fluid flow. They differ only when the flow changes with time, that is, when the flow is not steady. Considering a velocity vector field in three-dimensional space in the framework of continuum mechanics, we have that:
In geometry, a normal is an object that is perpendicular to a given object. For example, the normal line to a plane curve at a given point is the line perpendicular to the tangent line to the curve at the point.
In the mathematical field of differential geometry, a metric tensor is an additional structure on a manifold M that allows defining distances and angles, just as the inner product on a Euclidean space allows defining distances and angles there. More precisely, a metric tensor at a point p of M is a bilinear form defined on the tangent space at p, and a metric field on M consists of a metric tensor at each point p of M that varies smoothly with p.
In mathematics, the covariant derivative is a way of specifying a derivative along tangent vectors of a manifold. Alternatively, the covariant derivative is a way of introducing and working with a connection on a manifold by means of a differential operator, to be contrasted with the approach given by a principal connection on the frame bundle – see affine connection. In the special case of a manifold isometrically embedded into a higher-dimensional Euclidean space, the covariant derivative can be viewed as the orthogonal projection of the Euclidean directional derivative onto the manifold's tangent space. In this case the Euclidean derivative is broken into two parts, the extrinsic normal component and the intrinsic covariant derivative component.
This is a glossary of some terms used in Riemannian geometry and metric geometry — it doesn't cover the terminology of differential topology.
In geometry, a cardioid is a plane curve traced by a point on the perimeter of a circle that is rolling around a fixed circle of the same radius. It can also be defined as an epicycloid having a single cusp. It is also a type of sinusoidal spiral, and an inverse curve of the parabola with the focus as the center of inversion. A cardioid can also be defined as the set of points of reflections of a fixed point on a circle through all tangents to the circle.
In differential geometry, the second fundamental form is a quadratic form on the tangent plane of a smooth surface in the three-dimensional Euclidean space, usually denoted by . Together with the first fundamental form, it serves to define extrinsic invariants of the surface, its principal curvatures. More generally, such a quadratic form is defined for a smooth immersed submanifold in a Riemannian manifold.
In mathematics, the mean curvature of a surface is an extrinsic measure of curvature that comes from differential geometry and that locally describes the curvature of an embedded surface in some ambient space such as Euclidean space.
In geometry, a surface S in 3-dimensional Euclidean space is ruled if through every point of S, there is a straight line that lies on S. Examples include the plane, the lateral surface of a cylinder or cone, a conical surface with elliptical directrix, the right conoid, the helicoid, and the tangent developable of a smooth curve in space.
In mathematics, an involute is a particular type of curve that is dependent on another shape or curve. An involute of a curve is the locus of a point on a piece of taut string as the string is either unwrapped from or wrapped around the curve.
In the differential geometry of curves, the evolute of a curve is the locus of all its centers of curvature. That is to say that when the center of curvature of each point on a curve is drawn, the resultant shape will be the evolute of that curve. The evolute of a circle is therefore a single point at its center. Equivalently, an evolute is the envelope of the normals to a curve.
A parametric surface is a surface in the Euclidean space which is defined by a parametric equation with two parameters . Parametric representation is a very general way to specify a surface, as well as implicit representation. Surfaces that occur in two of the main theorems of vector calculus, Stokes' theorem and the divergence theorem, are frequently given in a parametric form. The curvature and arc length of curves on the surface, surface area, differential geometric invariants such as the first and second fundamental forms, Gaussian, mean, and principal curvatures can all be computed from a given parametrization.
In mathematics, the differential geometry of surfaces deals with the differential geometry of smooth surfaces with various additional structures, most often, a Riemannian metric.
In geometry, an intersection is a point, line, or curve common to two or more objects. The simplest case in Euclidean geometry is the line–line intersection between two distinct lines, which either is one point or does not exist. Other types of geometric intersection include:
In geometry, an intersection curve is a curve that is common to two geometric objects. In the simplest case, the intersection of two non-parallel planes in Euclidean 3-space is a line. 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.
In differential geometry a translation surface is a surface that is generated by translations:
In differential geometry Dupin's theorem, named after the French mathematician Charles Dupin, is the statement: