Parallel Curve
   HOME

TheInfoList



OR:

A parallel of a
curve In mathematics, a curve (also called a curved line in older texts) is an object similar to a line, but that does not have to be straight. Intuitively, a curve may be thought of as the trace left by a moving point. This is the definition that ...
is the
envelope An envelope is a common packaging item, usually made of thin, flat material. It is designed to contain a flat object, such as a letter (message), letter or Greeting card, card. Traditional envelopes are made from sheets of paper cut to one o ...
of a family of
congruent Congruence may refer to: Mathematics * Congruence (geometry), being the same size and shape * Congruence or congruence relation, in abstract algebra, an equivalence relation on an algebraic structure that is compatible with the structure * In modu ...
circle A circle is a shape consisting of all point (geometry), points in a plane (mathematics), plane that are at a given distance from a given point, the Centre (geometry), centre. The distance between any point of the circle and the centre is cal ...
s 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. These two definitions are not entirely equivalent as the latter assumes
smoothness In mathematical analysis, the smoothness of a function is a property measured by the number of continuous derivatives (''differentiability class)'' it has over its domain. A function of class C^k is a function of smoothness at least ; t ...
, whereas the former does not. In
computer-aided design Computer-aided design (CAD) is the use of computers (or ) to aid in the creation, modification, analysis, or optimization of a design. This software is used to increase the productivity of the designer, improve the quality of design, improve c ...
the preferred term for a parallel curve is offset curve. (In other geometric contexts, the term offset can also refer to
translation Translation is the communication of the semantics, meaning of a #Source and target languages, source-language text by means of an Dynamic and formal equivalence, equivalent #Source and target languages, target-language text. The English la ...
.) Offset curves are important, for example, in numerically controlled
machining Machining is a manufacturing process where a desired shape or part is created using the controlled removal of material, most often metal, from a larger piece of raw material by cutting. Machining is a form of subtractive manufacturing, which util ...
, 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. In the area of 2D
computer graphics Computer graphics deals with generating images and art with the aid of computers. Computer graphics is a core technology in digital photography, film, video games, digital art, cell phone and computer displays, and many specialized applications. ...
known as
vector graphics Vector graphics are a form of computer graphics in which visual images are created directly from geometric shapes defined on a Cartesian plane, such as points, lines, curves and polygons. The associated mechanisms may include vector displ ...
, the (approximate) computation of parallel curves is involved in one of the fundamental drawing operations, called stroking, which is typically applied to
polyline In geometry, a polygonal chain is a connected series of line segments. More formally, a polygonal chain is a curve specified by a sequence of points (A_1, A_2, \dots, A_n) called its vertices. The curve itself consists of the line segments co ...
s or polybeziers (themselves called paths) in that field. Except in the case of a line or
circle A circle is a shape consisting of all point (geometry), points in a plane (mathematics), plane that are at a given distance from a given point, the Centre (geometry), centre. The distance between any point of the circle and the centre is cal ...
, the parallel curves have a more complicated mathematical structure than the progenitor curve. For example, even if the progenitor curve is
smooth Smooth may refer to: Mathematics * Smooth function, a function that is infinitely differentiable; used in calculus and topology * Smooth manifold, a differentiable manifold for which all the transition maps are smooth functions * Smooth algebrai ...
, its offsets may not be so; this property is illustrated in the top figure, using a
sine curve A sine wave, sinusoidal wave, or sinusoid (symbol: ∿) is a periodic wave whose waveform (shape) is the trigonometric sine function. In mechanics, as a linear motion over time, this is '' simple harmonic motion''; as rotation, it correspon ...
as progenitor curve. In general, even if a curve is
rational Rationality is the quality of being guided by or based on reason. In this regard, a person acts rationally if they have a good reason for what they do, or a belief is rational if it is based on strong evidence. This quality can apply to an ...
, its offsets may not be so. For example, the offsets of a parabola are rational curves, but the offsets of an
ellipse In mathematics, an ellipse is a plane curve surrounding two focus (geometry), 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 ty ...
or of a
hyperbola In mathematics, a hyperbola is a type of smooth function, smooth plane curve, curve lying in a plane, defined by its geometric properties or by equations for which it is the solution set. A hyperbola has two pieces, called connected component ( ...
are not rational, even though these progenitor curves themselves are rational. The notion also generalizes to 3D
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 ...
s, where it is called an offset surface or parallel surface. Increasing a
solid Solid is a state of matter where molecules are closely packed and can not slide past each other. Solids resist compression, expansion, or external forces that would alter its shape, with the degree to which they are resisted dependent upon the ...
volume by a (constant) distance offset is sometimes called ''dilation''.http://www.cc.gatech.edu/~jarek/papers/localVolume.pdf, p. 3 The opposite operation is sometimes called ''shelling''. Offset surfaces are important in numerically controlled
machining Machining is a manufacturing process where a desired shape or part is created using the controlled removal of material, most often metal, from a larger piece of raw material by cutting. Machining is a form of subtractive manufacturing, which util ...
, where they describe the shape of the cut made by a ball nose end mill of a three-axis machine. Other shapes of cutting bits can be modelled mathematically by general offset surfaces.


Parallel curve of a parametrically given curve

If there is a regular parametric representation \vec x= (x(t),y(t)) 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 , d, : : \vec x_d(t)=\vec x(t)+d\vec n(t) with the unit normal \vec n(t). In cartesian coordinates: : x_d(t)= x(t)+\frac : y_d(t)= y(t)-\frac \ . The distance parameter d 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.


Geometric properties:E. Hartmann
''Geometry and Algorithms for COMPUTER AIDED DESIGN.''
S. 30.

*\vec x'_d(t) \parallel \vec x'(t),\quad that means: the tangent vectors for a fixed parameter are parallel. *k_d(t)=\frac,\quad with k(t) the
curvature 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 su ...
of the given curve and k_d(t) the curvature of the parallel curve for parameter t. *R_d(t)=R(t) + d,\quad with R(t) the
radius of curvature In differential geometry, the radius of curvature, , is the reciprocal of the curvature. For a curve, it equals the radius of the circular arc which best approximates the curve at that point. For surfaces, the radius of curvature is the radius ...
of the given curve and R_d(t) the radius of curvature of the parallel curve for parameter t. * When they exist, the osculating circles to parallel curves at corresponding points are concentric. *As for
parallel lines In geometry, parallel lines are coplanar infinite straight lines that do not intersect at any point. Parallel planes are planes in the same three-dimensional space that never meet. '' Parallel curves'' are curves that do not touch each oth ...
, a normal line to a curve is also normal to its parallels. *When parallel curves are constructed they will have
cusp A cusp is the most pointed end of a curve. It often refers to cusp (anatomy), a pointed structure on a tooth. Cusp or CUSP may also refer to: Mathematics * Cusp (singularity), a singular point of a curve * Cusp catastrophe, a branch of bifu ...
s when the distance from the curve matches the radius of
curvature 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 su ...
. These are the points where the curve touches the
evolute In the differential geometry of curves, the evolute of a curve is the locus (mathematics), locus of all its Center of curvature, centers of curvature. That is to say that when the center of curvature of each point on a curve is drawn, the result ...
. *If the progenitor curve is a boundary of a planar set and its parallel curve is without self-intersections, then the latter is the boundary of the
Minkowski sum In geometry, the Minkowski sum of two sets of position vectors ''A'' and ''B'' in Euclidean space is formed by adding each vector in ''A'' to each vector in ''B'': A + B = \ The Minkowski difference (also ''Minkowski subtraction'', ''Minkowsk ...
of the planar set and the disk of the given radius. If the given curve is polynomial (meaning that x(t) and y(t) 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.


Parallel curves of an implicit curve

Generally the analytic representation of a parallel curve of an
implicit curve In mathematics, an implicit curve is a plane curve defined by an implicit equation relating two coordinate variables, commonly ''x'' and ''y''. For example, the unit circle is defined by the implicit equation x^2+y^2=1. In general, every implic ...
is not possible. Only for the simple cases of lines and circles the parallel curves can be described easily. For example: : ''Line'' \; f(x,y)=x+y-1=0\; → distance function: \; h(x,y)=\frac=d\; (Hesse normalform) : ''Circle'' \; f(x,y)=x^2+y^2-1=0\; → distance function: \; h(x,y)=\sqrt-1=d\; . In general, presuming certain conditions, one can prove the existence of an oriented distance function h(x,y). In practice one has to treat it numerically. Considering parallel curves the following is true: * The parallel curve for distance d is the
level set In mathematics, a level set of a real-valued function of real variables is a set where the function takes on a given constant value , that is: : L_c(f) = \left\~. When the number of independent variables is two, a level set is call ...
h(x,y)=d of the corresponding oriented distance function h.


Properties of the distance function:

*, \operatorname h (\vec x), =1 \; , * h(\vec x+d\operatorname h (\vec x)) = h(\vec x)+d \; , * \operatornameh(\vec x+d\operatornameh (\vec x))= \operatornameh (\vec x) \; . Example:
The diagram shows parallel curves of the implicit curve with equation \; f(x,y)=x^4+y^4-1=0\; .
''Remark:'' The curves \; f(x,y)=x^4+y^4-1=d\; are not parallel curves, because \; , \operatorname f (x,y), =1 \; is not true in the area of interest.


Further examples

*The
involute In mathematics, an involute (also known as an evolvent) is a particular type of curve that is dependent on another shape or curve. An involute of a curve is the Locus (mathematics), locus of a point on a piece of taut string as the string is eith ...
s of a given curve are a set of parallel curves. For example: the involutes of a circle are parallel spirals (see diagram). And:http://faculty.engineering.ucdavis.edu/farouki/wp-content/uploads/sites/41/2013/02/Introduction-to-PH-curves.pdf , p. 16 "taxonomy of offset curves" * A
parabola In mathematics, a parabola is a plane curve which is Reflection symmetry, mirror-symmetrical and is approximately U-shaped. It fits several superficially different Mathematics, mathematical descriptions, which can all be proved to define exactl ...
has as (two-sided) offsets
rational curve In mathematics, an affine algebraic plane curve is the zero set of a polynomial in two variables. A projective algebraic plane curve is the zero set in a projective plane of a homogeneous polynomial in three variables. An affine algebraic plane cu ...
s of degree 6. * A
hyperbola In mathematics, a hyperbola is a type of smooth function, smooth plane curve, curve lying in a plane, defined by its geometric properties or by equations for which it is the solution set. A hyperbola has two pieces, called connected component ( ...
or an
ellipse In mathematics, an ellipse is a plane curve surrounding two focus (geometry), 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 ty ...
has as (two-sided) offsets an
algebraic curve In mathematics, an affine algebraic plane curve is the zero set of a polynomial in two variables. A projective algebraic plane curve is the zero set in a projective plane of a homogeneous polynomial in three variables. An affine algebraic plane cu ...
of degree 8. * A
Bézier curve A Bézier curve ( , ) is a parametric equation, parametric curve used in computer graphics and related fields. A set of discrete "control points" defines a smooth, continuous curve by means of a formula. Usually the curve is intended to approxima ...
of degree has as (two-sided) offsets
algebraic curve In mathematics, an affine algebraic plane curve is the zero set of a polynomial in two variables. A projective algebraic plane curve is the zero set in a projective plane of a homogeneous polynomial in three variables. An affine algebraic plane cu ...
s of degree . In particular, a cubic Bézier curve has as (two-sided) offsets algebraic curves of degree 10.


Parallel curve to a curve with a corner

When determining the cutting path of part with a sharp corner for
machining Machining is a manufacturing process where a desired shape or part is created using the controlled removal of material, most often metal, from a larger piece of raw material by cutting. Machining is a form of subtractive manufacturing, which util ...
, 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
cusp A cusp is the most pointed end of a curve. It often refers to cusp (anatomy), a pointed structure on a tooth. Cusp or CUSP may also refer to: Mathematics * Cusp (singularity), a singular point of a curve * Cusp catastrophe, a branch of bifu ...
s when the distance from the curve matches the radius of
curvature 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 su ...
at the sharp corner.


Normal fans

As described
above Above may refer to: *Above (artist) Tavar Zawacki (b. 1981, California) is a Polish, Portuguese - American abstract artist and internationally recognized visual artist based in Berlin, Germany. From 1996 to 2016, he created work under the ...
, the parametric representation of a parallel curve, \vec x_d(t), to a given curver, \vec x(t), with distance , d, is: :\vec x_d(t) = \vec x(t) + d\vec n(t) with the unit normal \vec n(t). At a sharp corner (t = t_c), the normal to \vec x(t_c) given by \vec n(t_c) is discontinuous, meaning the
one-sided limit In calculus, a one-sided limit refers to either one of the two Limit of a function, limits of a Function (mathematics), function f(x) of a Real number, real variable x as x approaches a specified point either from the left or from the right. The ...
of the normal from the left \vec n(t_c^-) is unequal to the limit from the right \vec n(t_c^+). Mathematically, :\vec n(t_c^-) = \lim_\vec n(t) \ne \vec n(t_c^+) = \lim_\vec n(t). However, we can define a normal fan \vec n_f(\alpha) that provides an
interpolant In the mathematical field of numerical analysis, interpolation is a type of estimation, a method of constructing (finding) new data points based on the range of a discrete set of known data points. In engineering and science, one often has a ...
between \vec n(t_c^-) and \vec n(t_c^+), and use \vec n_f(\alpha) in place of \vec n(t_c) at the sharp corner: :\vec n_f(\alpha) = \frac,\quadwhere 0 < \alpha < 1. The resulting definition of the parallel curve \vec x_d(t) provides the desired behavior: :\vec x_d(t) = \begin \vec x(t) + d\vec n(t), & \textt < t_c\textt > t_c \\ \vec x(t_c) + d\vec n_f(\alpha), & \textt = t_c\text0 < \alpha < 1 \end


Algorithms

In general, the parallel curve of a
Bézier curve A Bézier curve ( , ) is a parametric equation, parametric curve used in computer graphics and related fields. A set of discrete "control points" defines a smooth, continuous curve by means of a formula. Usually the curve is intended to approxima ...
is not another Bézier curve, a result proved by Tiller and Hanson in 1984. 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 is widely cited, though better techniques have been proposed more recently. A modern technique based on
curve fitting Curve fitting is the process of constructing a curve, or mathematical function, that has the best fit to a series of data points, possibly subject to constraints. Curve fitting can involve either interpolation, where an exact fit to the data is ...
, with references and comparisons to other algorithms, as well as open source JavaScript source code, was published in a blog post in September 2022. Another efficient algorithm for offsetting is the level approach described by Kimmel and Bruckstein (1993).


Parallel (offset) surfaces

Offset surfaces are important in numerically controlled
machining Machining is a manufacturing process where a desired shape or part is created using the controlled removal of material, most often metal, from a larger piece of raw material by cutting. Machining is a form of subtractive manufacturing, which util ...
, where they describe the shape of the cut made by a ball nose end mill of a three-axis mill. If there is a regular parametric representation \vec x(u,v) = (x(u,v),y(u,v),z(u,v)) 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 , d, : : \vec x_d(u,v)=\vec x(u,v)+d\vec n(u,v) with the unit normal \vec n_d(u,v) = . Distance parameter d 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.


Geometric properties:

* \parallel , \quad \parallel , \quad that means: the tangent vectors for fixed parameters are parallel. *\vec n_d(u,v) = \pm\vec n(u,v), \quad that means: the normal vectors for fixed parameters match direction. *S_d = (1 + d S)^ S, \quad where S_d and S are the
shape operator In mathematics, the differential geometry of surfaces deals with the differential geometry of smooth surfaces with various additional structures, most often, a Riemannian metric. Surfaces have been extensively studied from various perspective ...
s for \vec x_d and \vec x, respectively. :The principal curvatures are the
eigenvalues In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
of the
shape operator In mathematics, the differential geometry of surfaces deals with the differential geometry of smooth surfaces with various additional structures, most often, a Riemannian metric. Surfaces have been extensively studied from various perspective ...
, the principal curvature directions are its
eigenvectors In linear algebra, an eigenvector ( ) or characteristic vector is a Vector (mathematics and physics), vector that has its direction (geometry), direction unchanged (or reversed) by a given linear map, linear transformation. More precisely, an e ...
, the
Gaussian curvature In differential geometry, the Gaussian curvature or Gauss curvature of a smooth Surface (topology), surface in three-dimensional space at a point is the product of the principal curvatures, and , at the given point: K = \kappa_1 \kappa_2. For ...
is its
determinant In mathematics, the determinant is a Scalar (mathematics), scalar-valued function (mathematics), function of the entries of a square matrix. The determinant of a matrix is commonly denoted , , or . Its value characterizes some properties of the ...
, and the mean curvature is half its
trace Trace may refer to: Arts and entertainment Music * ''Trace'' (Son Volt album), 1995 * ''Trace'' (Died Pretty album), 1993 * Trace (band), a Dutch progressive rock band * ''The Trace'' (album), by Nell Other uses in arts and entertainment * ...
. *S_d^ = S^ + d I, \quad where S_d^ and S^ are the inverses of the
shape operator In mathematics, the differential geometry of surfaces deals with the differential geometry of smooth surfaces with various additional structures, most often, a Riemannian metric. Surfaces have been extensively studied from various perspective ...
s for \vec x_d and \vec x, respectively. :The principal radii of curvature are the
eigenvalues In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
of the inverse of the
shape operator In mathematics, the differential geometry of surfaces deals with the differential geometry of smooth surfaces with various additional structures, most often, a Riemannian metric. Surfaces have been extensively studied from various perspective ...
, the principal curvature directions are its
eigenvectors In linear algebra, an eigenvector ( ) or characteristic vector is a Vector (mathematics and physics), vector that has its direction (geometry), direction unchanged (or reversed) by a given linear map, linear transformation. More precisely, an e ...
, the reciprocal of the
Gaussian curvature In differential geometry, the Gaussian curvature or Gauss curvature of a smooth Surface (topology), surface in three-dimensional space at a point is the product of the principal curvatures, and , at the given point: K = \kappa_1 \kappa_2. For ...
is its
determinant In mathematics, the determinant is a Scalar (mathematics), scalar-valued function (mathematics), function of the entries of a square matrix. The determinant of a matrix is commonly denoted , , or . Its value characterizes some properties of the ...
, and the mean radius of curvature is half its
trace Trace may refer to: Arts and entertainment Music * ''Trace'' (Son Volt album), 1995 * ''Trace'' (Died Pretty album), 1993 * Trace (band), a Dutch progressive rock band * ''The Trace'' (album), by Nell Other uses in arts and entertainment * ...
. Note the similarity to the geometric properties of parallel curves.


Generalizations

The problem generalizes fairly obviously to higher dimensions e.g. to offset surfaces, and slightly less trivially to pipe surfaces. 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. For curves embedded in 3D surfaces the offset may be taken along a
geodesic In geometry, a geodesic () is a curve representing in some sense the locally shortest path ( arc) between two points in a surface, or more generally in a Riemannian manifold. The term also has meaning in any differentiable manifold with a conn ...
. Another way to generalize it is (even in 2D) to consider a variable distance, e.g. parametrized by another curve. One can for example stroke (envelope) with an ellipse instead of circle as it is possible for example in
METAFONT Metafont is a page description language, description language used to define raster fonts. It is also the name of the interpreter (computer software), interpreter that executes Metafont code, generating the bitmap fonts that can be embedded into ...
. More recently
Adobe Illustrator Adobe Illustrator is a vector graphics editor and Computer-aided design, design software developed and marketed by Adobe Inc., Adobe. Originally designed for the Apple Inc., Apple Mac (computer), Macintosh, development of Adobe Illustrator began ...
has added somewhat similar facility in version CS5, although the control points for the variable width are visually specified.http://design.tutsplus.com/tutorials/illustrator-cs5-variable-width-stroke-tool-perfect-for-making-tribal-designs--vector-4346 application of the generalized version in Adobe Illustrator CS5 (als
video
In contexts where it's important to distinguish between constant and variable distance offsetting the acronyms CDO and VDO are sometimes used.


General offset curves

Assume you have a regular parametric representation of a curve, \vec x(t) = (x(t),y(t)), and you have a second curve that can be parameterized by its unit normal, \vec d(\vec n), where the normal of \vec d(\vec n) = \vec n (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 \vec x(t) offset by \vec d(\vec n) is: : \vec x_d(t)=\vec x(t)+ \vec d(\vec n(t)), \quad where \vec n(t) is the unit normal of \vec x(t). Note that the trival offset, \vec d(\vec n) = d\vec n, gives you ordinary parallel (aka, offset) curves.


Geometric properties:

*\vec x'_d(t) \parallel \vec x'(t),\quad that means: the tangent vectors for a fixed parameter are parallel. *As for
parallel lines In geometry, parallel lines are coplanar infinite straight lines that do not intersect at any point. Parallel planes are planes in the same three-dimensional space that never meet. '' Parallel curves'' are curves that do not touch each oth ...
, a normal to a curve is also normal to its general offsets. *k_d(t)=\dfrac,\quad with k_d(t) the
curvature 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 su ...
of the general offset curve, k(t) the curvature of \vec x(t), and k_n(t) the curvature of \vec d(\vec n(t)) for parameter t. *R_d(t)=R(t) + R_n(t),\quad with R_d(t) the
radius of curvature In differential geometry, the radius of curvature, , is the reciprocal of the curvature. For a curve, it equals the radius of the circular arc which best approximates the curve at that point. For surfaces, the radius of curvature is the radius ...
of the general offset curve, R(t) the radius of curvature of \vec x(t), and R_n(t) the radius of curvature of \vec d(\vec n(t)) for parameter t. *When general offset curves are constructed they will have
cusp A cusp is the most pointed end of a curve. It often refers to cusp (anatomy), a pointed structure on a tooth. Cusp or CUSP may also refer to: Mathematics * Cusp (singularity), a singular point of a curve * Cusp catastrophe, a branch of bifu ...
s when the
curvature 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 su ...
of the curve matches curvature of the offset. These are the points where the curve touches the
evolute In the differential geometry of curves, the evolute of a curve is the locus (mathematics), locus of all its Center of curvature, centers of curvature. That is to say that when the center of curvature of each point on a curve is drawn, the result ...
.


General offset surfaces

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 Machining is a manufacturing process where a desired shape or part is created using the controlled removal of material, most often metal, from a larger piece of raw material by cutting. Machining is a form of subtractive manufacturing, which util ...
. Assume you have a regular parametric representation of a surface, \vec x(u,v) = (x(u,v),y(u,v),z(u,v)), and you have a second surface that can be parameterized by its unit normal, \vec d(\vec n), where the normal of \vec d(\vec n) = \vec n (this parameterization by normal exists for surfaces whose
Gaussian curvature In differential geometry, the Gaussian curvature or Gauss curvature of a smooth Surface (topology), surface in three-dimensional space at a point is the product of the principal curvatures, and , at the given point: K = \kappa_1 \kappa_2. For ...
is strictly positive, and thus convex, smooth, and not flat). The parametric representation of the general offset surface of \vec x(t) offset by \vec d(\vec n) is: : \vec x_d(u,v)=\vec x(u,v)+ \vec d(\vec n(u,v)), \quad where \vec n(u,v) is the unit normal of \vec x(u,v). Note that the trival offset, \vec d(\vec n) = d\vec n, gives you ordinary parallel (aka, offset) surfaces.


Geometric properties:

*As for
parallel lines In geometry, parallel lines are coplanar infinite straight lines that do not intersect at any point. Parallel planes are planes in the same three-dimensional space that never meet. '' Parallel curves'' are curves that do not touch each oth ...
, the tangent plane of a surface is parallel to the tangent plane of its general offsets. *As for
parallel lines In geometry, parallel lines are coplanar infinite straight lines that do not intersect at any point. Parallel planes are planes in the same three-dimensional space that never meet. '' Parallel curves'' are curves that do not touch each oth ...
, a normal to a surface is also normal to its general offsets. *S_d = (1 + SS_n^)^ S, \quad where S_d, S, and S_n are the
shape operator In mathematics, the differential geometry of surfaces deals with the differential geometry of smooth surfaces with various additional structures, most often, a Riemannian metric. Surfaces have been extensively studied from various perspective ...
s for \vec x_d, \vec x, and \vec d(\vec n), respectively. :The principal curvatures are the
eigenvalues In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
of the
shape operator In mathematics, the differential geometry of surfaces deals with the differential geometry of smooth surfaces with various additional structures, most often, a Riemannian metric. Surfaces have been extensively studied from various perspective ...
, the principal curvature directions are its
eigenvectors In linear algebra, an eigenvector ( ) or characteristic vector is a Vector (mathematics and physics), vector that has its direction (geometry), direction unchanged (or reversed) by a given linear map, linear transformation. More precisely, an e ...
, the
Gaussian curvature In differential geometry, the Gaussian curvature or Gauss curvature of a smooth Surface (topology), surface in three-dimensional space at a point is the product of the principal curvatures, and , at the given point: K = \kappa_1 \kappa_2. For ...
is its
determinant In mathematics, the determinant is a Scalar (mathematics), scalar-valued function (mathematics), function of the entries of a square matrix. The determinant of a matrix is commonly denoted , , or . Its value characterizes some properties of the ...
, and the mean curvature is half its
trace Trace may refer to: Arts and entertainment Music * ''Trace'' (Son Volt album), 1995 * ''Trace'' (Died Pretty album), 1993 * Trace (band), a Dutch progressive rock band * ''The Trace'' (album), by Nell Other uses in arts and entertainment * ...
. *S_d^ = S^ + S_n^, \quad where S_d^, S^ and S_n^ are the inverses of the
shape operator In mathematics, the differential geometry of surfaces deals with the differential geometry of smooth surfaces with various additional structures, most often, a Riemannian metric. Surfaces have been extensively studied from various perspective ...
s for \vec x_d, \vec x, and \vec d(\vec n), respectively. :The principal radii of curvature are the
eigenvalues In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
of the inverse of the
shape operator In mathematics, the differential geometry of surfaces deals with the differential geometry of smooth surfaces with various additional structures, most often, a Riemannian metric. Surfaces have been extensively studied from various perspective ...
, the principal curvature directions are its
eigenvectors In linear algebra, an eigenvector ( ) or characteristic vector is a Vector (mathematics and physics), vector that has its direction (geometry), direction unchanged (or reversed) by a given linear map, linear transformation. More precisely, an e ...
, the reciprocal of the
Gaussian curvature In differential geometry, the Gaussian curvature or Gauss curvature of a smooth Surface (topology), surface in three-dimensional space at a point is the product of the principal curvatures, and , at the given point: K = \kappa_1 \kappa_2. For ...
is its
determinant In mathematics, the determinant is a Scalar (mathematics), scalar-valued function (mathematics), function of the entries of a square matrix. The determinant of a matrix is commonly denoted , , or . Its value characterizes some properties of the ...
, and the mean radius of curvature is half its
trace Trace may refer to: Arts and entertainment Music * ''Trace'' (Son Volt album), 1995 * ''Trace'' (Died Pretty album), 1993 * Trace (band), a Dutch progressive rock band * ''The Trace'' (album), by Nell Other uses in arts and entertainment * ...
. Note the similarity to the geometric properties of general offset curves.


Derivation of geometric properties for general offsets

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, \vec x(\vec u), where the dimension of \vec u is n-1. Also assume you have a second n-dimensional surface that can be parameterized by its unit normal, \vec d(\vec n), where the normal of \vec d(\vec n) = \vec n (this parameterization by normal exists for surfaces whose
Gaussian curvature In differential geometry, the Gaussian curvature or Gauss curvature of a smooth Surface (topology), surface in three-dimensional space at a point is the product of the principal curvatures, and , at the given point: K = \kappa_1 \kappa_2. For ...
is strictly positive, and thus convex, smooth, and not flat). The parametric representation of the general offset surface of \vec x(\vec u) offset by \vec d(\vec n) is: : \vec x_d(\vec u) = \vec x(\vec u)+ \vec d(\vec n(\vec u)), \quad where \vec n(\vec u) is the unit normal of \vec x(\vec u). (The trival offset, \vec d(\vec n) = d\vec n, gives you ordinary parallel surfaces.) First, notice that the normal of \vec x(\vec u) = the normal of \vec d(\vec n(\vec u)) = \vec n(\vec u), by definition. Now, we'll apply the differential w.r.t. \vec u to \vec x_d, which gives us its tangent vectors spanning its tangent plane. : \partial\vec x_d(\vec u) = \partial\vec x(\vec u)+ \partial\vec d(\vec n(\vec u)) Notice, the tangent vectors for \vec x_d are the sum of tangent vectors for \vec x(\vec u) and its offset \vec d(\vec n), which share the same unit normal. Thus, the general offset surface shares the same tangent plane and normal with \vec x(\vec u) and \vec d(\vec n(\vec u)). That aligns with the nature of envelopes. We now consider the
Weingarten equations The Weingarten equations give the expansion of the derivative of the unit normal vector to a surface in terms of the first derivatives of the position vector of a point on the surface. These formulas were established in 1861 by the German mathemati ...
for the
shape operator In mathematics, the differential geometry of surfaces deals with the differential geometry of smooth surfaces with various additional structures, most often, a Riemannian metric. Surfaces have been extensively studied from various perspective ...
, which can be written as \partial\vec n = -\partial\vec xS. If S is invertable, \partial\vec x = -\partial\vec nS^. Recall that the principal curvatures of a surface are the
eigenvalues In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
of the shape operator, the principal curvature directions are its
eigenvectors In linear algebra, an eigenvector ( ) or characteristic vector is a Vector (mathematics and physics), vector that has its direction (geometry), direction unchanged (or reversed) by a given linear map, linear transformation. More precisely, an e ...
, the Gauss curvature is its
determinant In mathematics, the determinant is a Scalar (mathematics), scalar-valued function (mathematics), function of the entries of a square matrix. The determinant of a matrix is commonly denoted , , or . Its value characterizes some properties of the ...
, and the mean curvature is half its
trace Trace may refer to: Arts and entertainment Music * ''Trace'' (Son Volt album), 1995 * ''Trace'' (Died Pretty album), 1993 * Trace (band), a Dutch progressive rock band * ''The Trace'' (album), by Nell Other uses in arts and entertainment * ...
. The inverse of the shape operator holds these same values for the radii of curvature. Substituting into the equation for the differential of \vec x_d, we get: : \partial\vec x_d = \partial\vec x - \partial\vec n S_n^,\quad where S_n is the shape operator for \vec d(\vec n(\vec u)). Next, we use the
Weingarten equations The Weingarten equations give the expansion of the derivative of the unit normal vector to a surface in terms of the first derivatives of the position vector of a point on the surface. These formulas were established in 1861 by the German mathemati ...
again to replace \partial\vec n: :\partial\vec x_d = \partial\vec x + \partial\vec x S S_n^,\quad where S is the shape operator for \vec x(\vec u). Then, we solve for \partial\vec x and multiple both sides by -S to get back to the
Weingarten equations The Weingarten equations give the expansion of the derivative of the unit normal vector to a surface in terms of the first derivatives of the position vector of a point on the surface. These formulas were established in 1861 by the German mathemati ...
, this time for \partial\vec x_d: :\partial\vec x_d (I + S S_n^)^ = \partial\vec x, :-\partial\vec x_d (I + S S_n^)^S = -\partial\vec xS = \partial\vec n. Thus, S_d = (I + S S_n^)^S, and inverting both sides gives us, S_d^ = S^ + S_n^.


See also

*
Bump mapping Bump mapping is a texture mapping technique in computer graphics for simulating bumps and wrinkles on the surface of an object. This is achieved by perturbing the surface normals of the object and using the perturbed normal during lighting calcul ...
*
Distance function In mathematics, a metric space is a set together with a notion of ''distance'' between its elements, usually called points. The distance is measured by a function called a metric or distance function. Metric spaces are a general setting fo ...
and
signed distance function In mathematics and its applications, the signed distance function or signed distance field (SDF) is the orthogonal distance of a given point ''x'' to the boundary of a set Ω in a metric space (such as the surface of a geometric shape), with t ...
*
Distance field A distance transform, also known as distance map or distance field, is a derived representation of a digital image. The choice of the term depends on the point of view on the object in question: whether the initial image is transformed into anothe ...
*
Offset printing Offset printing is a common printing technique in which the inked image is transferred (or "offset") from a plate to a rubber blanket and then to the printing surface. When used in combination with the lithography, lithographic process, which ...
*
Tubular neighborhood In mathematics, a tubular neighborhood of a submanifold of a smooth manifold is an open set around it resembling the normal bundle. The idea behind a tubular neighborhood can be explained in a simple example. Consider a smooth curve in the p ...


References

* Josef Hoschek: ''Offset curves in the plane.'' In: ''CAD.'' 17 (1985), S. 77–81. * Takashi Maekawa: ''An overview of offset curves and surfaces.'' In: ''CAD.'' 31 (1999), S. 165–173.


Further reading

* * * *
Free online version
* * Pages listed are the general and introductory material. *


External links



Xah Lee * http://library.imageworks.com/pdfs/imageworks-library-offset-curve-deformation-from-Skeletal-Anima.pdf application to animation; patented as * http://www2.uah.es/fsegundo/Otros/Offset/16-SanSegundoSendraSendra-1532.pdf {{DEFAULTSORT:Parallel Curve Curves Differential geometry Articles containing video clips