Parallel Curves

Lecture



Parallel of a curve is

  • the envelope of a family of congruent circles with center on the curve.

It generalizes the concept of parallel lines . It can also be defined as

  • a curve whose points lie at a fixed normal distance from a given curve.

These two definitions are not fully equivalent, since the latter presupposes smoothness , while the first does not.

Parallel Curves

Parallel curves of the graph Parallel Curves at distances Parallel Curves

Parallel Curves

Two definitions of a parallel curve: 1) the envelope of a family of congruent circles, 2) fixed normal distance

Parallel Curves

Parallel curves of a circle (red) are also circles

In computer-aided design, the preferred term for a parallel curve is offset curve . (In other geometric contexts, the term «offset» may also refer to translation . ) Offset curves are important, for example, in numerically controlled machining , where they describe, for example, the shape of a cut made. by a round cutting tool of a two-axis machine. The shape of the cut is offset from the tool path by a constant distance in a direction perpendicular to the tool path at every point.

In the field of computer 2D graphics, known as vector graphics , the (approximate) computation of parallel curves is involved in one of the fundamental drawing operations called stroking, which is usually applied to polylines or a polyline (themselves called paths) in this field.

Except in the case of a line or a circle , parallel curves have a more complex mathematical structure than the parent curve. For example, even if the parent curve is smooth , its offsets may not be; this property is illustrated in the top figure using a sinusoidal curve as the parent curve. In general, even if a curve is rational , its offsets may not be. For example, the offsets of a parabola are rational curves, but the offsets of an ellipse or hyperbola are not rational, even though these original curves themselves are rational.

This notion also extends to 3D surfaces , where it is called an offset surface . Increasing a solid's volume by a (constant) offset distance is sometimes called dilation . The opposite operation is sometimes called erosion . Offset surfaces are important in numerically controlled machining , where they describe the shape of a cut made by a ball-end mill on a three-axis machine. [10] Other cutter shapes can be modeled mathematically using general offset surfaces. [11]

Parallel curve of a parametrically given curve

If a regular parametric representation Parallel Curves of a given available curve exists, the second definition of a parallel curve (see above) leads to the following parametric representation of the parallel curve at distance Parallel Curves:

Parallel Curves with a unit normal Parallel Curves.

In Cartesian coordinates:

Parallel Curves

Parallel Curves

The distance parameter Parallel Curvescan also be negative. In this case the parallel curve is obtained on the opposite side of the curve (see the diagram of parallel curves of a circle). It is easy to check: the parallel curve of a line is a parallel line in the usual sense, and the parallel curve of a circle is a concentric circle.

Geometric properties:

  • Parallel Curves this means: the tangent vectors for a fixed parameter are parallel.
  • Parallel Curves with Parallel Curvesthe curvature of the given curve andParallel Curves the curvature of the parallel curve for parameter Parallel Curves.
  • Parallel Curves with Parallel Curvesthe radius of curvature of the given curve andParallel Curves the radius of curvature of the parallel curve for parameter Parallel Curves.
  • As with parallel lines , the normal line to a curve is also normal to its parallels.
  • When constructing parallel curves they will have cusps where the distance from the curve coincides with the radius of curvature . These are the points where the curve touches the evolute .
  • If the parent curve is the boundary of a planar set, and its parallel curve has no self-intersections, then the latter is the boundary of the Minkowski sum of the planar set and a disk of the given radius.

If a given curve is polynomial (that is, Parallel Curves and Parallel Curvesare polynomials), then parallel curves are generally not polynomials. In the field of CAD this is a drawback, because CAD systems use polynomials or rational curves. To obtain at least rational curves, the square root in the representation of the parallel curve must be solvable. Such curves are called Pythagorean hodograph curves and were studied by R. T. Farouki. [13]

Parallel curves of an implicit curve

Parallel Curves
Parallel curves of an implicit curve (red) with equation Parallel Curves

As a rule, an analytic representation of the parallel curve of an implicit curve is not possible. Only for the simple cases of lines and circles can parallel curves be easily described. For example:

Line Parallel Curves → distance function: Parallel Curves (Hesse normal form)

Circle Parallel Curves → distance function: Parallel Curves

Generally speaking, assuming certain conditions, one can prove the existence of an oriented distance function Parallel Curves. In practice one has to treat this numerically. [14] Considering parallel curves, the following holds:

  • The parallel curve for distance d is the level set Parallel Curves of the corresponding oriented distance function Parallel Curves.

Properties of the distance function:

  • Parallel Curves
  • Parallel Curves
  • Parallel Curves

Example:
the diagram shows parallel curves of an implicit curve with equationParallel Curves
Note: the curvesParallel Curves are not parallel curves, because Parallel Curves does not hold true in the region of interest.

Further examples

Parallel Curves
Involutes of a circle
  • All involutes of a given curve form a family of parallel curves. For example: involutes of a circle are parallel spirals (see diagram).

And: [16]

  • Parabolas have, as their (two-sided) offsets, rational curves of degree 6.
  • A hyperbola or ellipse has, as its (two-sided) offsets, an algebraic curve of degree 8.
  • A Bezier curve of degree n has, as its (two-sided) offsets, algebraic curves of degree 4 n - 2 . In particular, a cubic Bezier curve has, as its (two-sided) offsets, algebraic curves of degree 10.

Parallel curve of a curve with a corner

Parallel Curves
Parallel curves of a curve with a discontinuous normal around a corner

When determining the cutting path for machining a part with a sharp corner, you must determine a curve parallel to (offset from) the given curve, which has a discontinuous normal at the corner. Even if the given curve is not smooth at the sharp corner, its parallel curve can be smooth with a continuous normal, or it can have cusps where the distance from the curve coincides with the radius of curvature at the sharp corner.

Ordinary fans [ edit ]

As described above , the parametric representation of the parallel curve,Parallel Curves, to a given curve, Parallel Curves, at distance Parallel Curves is:

Parallel Curves with unit normal Parallel Curves.

At a sharp corner (Parallel Curves) the normal to Parallel Curves given by Parallel Curvesis discontinuous, which means the one-sided limit of the normal from the leftParallel Curves is not equal to the limit from the right Parallel Curves. Mathematically,

Parallel Curves.

Parallel Curves
Ordinary fan for determining parallel curves around a sharp corner

However, we can define a normal fan [11] Parallel Curveswhich provides an interpolant betweenParallel Curves and Parallel Curves, and use Parallel Curves in place of Parallel Curves at the sharp corner:

Parallel Curveswhere Parallel Curves.

The resulting definition of the parallel curve Parallel Curves provides the desired behavior:

Parallel Curves

Algorithms

An efficient compensation algorithm is the level-set approach described by Kimmel and Bruckstein (1993). [17]

For this problem there exist many approximate algorithms. For a 1997 survey, see Elber, Lee, and Kim's «Comparison of Offset Curve Approximation Methods». [18]

Parallel (offset) surfaces

Parallel Curves
Offset surface of a complex irregular shape

Offset surfaces are important in numerically controlled machining , where they describe the shape of a cut made by a ball-end mill of a three-axis milling machine. [10] If there exists a regular parametric representationParallel Curves of a given available surface, the second definition of a parallel curve (see above) generalizes to the following parametric representation of the parallel surface at distance Parallel Curves:

Parallel Curves with unit normal Parallel Curves.

The distance parameter Parallel Curvescan also be negative. In this case one obtains the parallel surface on the opposite side of the surface (see the analogous diagram of parallel curves of a circle). It is easy to check: the parallel surface of a plane is a parallel plane in the usual sense, and the parallel surface of a sphere is a concentric sphere.

Geometric properties:

  • Parallel Curves this means: the tangent vectors for fixed parameters are parallel.
  • Parallel Curves this means: the normal vectors for fixed parameters coincide in direction.
  • Parallel Curves where Parallel Curves and Parallel Curvesare the shape operators forParallel Curves and Parallel Curvesrespectively.

The principal curvatures are the eigenvalues of this shape operator, the principal directions of curvature are its eigenvectors, the Gaussian curvature is its determinant, and the mean curvature is half its trace.

  • Parallel Curves where Parallel Curves and Parallel Curvesare the inverses of the shape operators forParallel Curves and Parallel Curvesrespectively.

The principal radii of curvature are the eigenvalues of the inverse shape operator, the principal directions of curvature are its eigenvectors, the reciprocal of the Gaussian curvature is its determinant, and the mean radius of curvature is half its trace.

Note the similarity with the geometric properties of parallel curves.

Generalizations

The problem quite obviously generalizes to higher dimensions, for example to offset surfaces, and somewhat less trivially to pipe surfaces. [20] Note that the terminology for the multidimensional versions varies even more widely than in the plane case, for example other authors speak of parallel fibers, ribbons and tubes. [21] For curves embedded in 3D surfaces, the offset can be produced along a geodesic. [22]

Another way to generalize this (even in 2D) is to consider a variable distance, for example parameterized by another curve. [19] One can, for example, trace (envelope) with an ellipse instead of a circle [19], as is possible, for example, in METAFONT. [23]

Parallel Curves
The envelope of ellipses, forming two general offset curves above and below the given curve.

More recently Adobe Illustrator added several similar capabilities in the CS5 version, although the control points for variable width are specified visually. [24] In contexts where it is important to distinguish constant and variable distance offsetting, the abbreviations CDO and VDO are sometimes used.

General offset curves

Suppose you have a regular parametric representation of a curve, Parallel Curves, and you have a second curve, which can be parameterized by its unit normal, Parallel Curves, where the normal Parallel Curves(this parameterization by normal exists for curves whose curvature is strictly positive or negative and, therefore, convex, smooth and non-straight). The parametric representation of a general offset curveParallel Curves offset by Parallel Curves is:

Parallel Curves where Parallel Curves unit normal Parallel Curves.

Note that the trivial offset, Parallel Curves, gives you the ordinary parallel (in other words, offset) curves.

Geometric properties:

  • Parallel Curves this means: the tangent vectors for a fixed parameter are parallel.
  • As with parallel lines, the normal to a curve is also normal to its general offsets.
  • Parallel Curves with Parallel Curvesthe curvature of the general offset curve,Parallel Curves the curvature of Parallel Curves, and Parallel Curves the curvature of Parallel Curves for parameter Parallel Curves.
  • Parallel Curves with Parallel Curvesthe radius of curvature of the general offset curve,Parallel Curves the radius of curvature of Parallel Curves, and Parallel Curves the radius of curvature of Parallel Curves for parameter Parallel Curves.
  • When constructing general offset curves, they will have cusps where the curvature of the curve coincides with the curvature of the offset. These are the points where the curve touches the evolute.

General offset surfaces

General offset surfaces describe the shape of the cuts made by various cutting heads used by three-axis end mills in numerically controlled machining. [11] Suppose you have a regular parametric representation of a surface,Parallel Curves, and you have a second surface, which can be parameterized by its unit normal, Parallel Curves, where the normal Parallel Curves(this parameterization by normal exists for surfaces whose Gaussian curvature is strictly positive and, therefore, convex, smooth and non-flat). The parametric representation of a general offset surfaceParallel Curves offset by Parallel Curves is:

Parallel Curves where Parallel Curves unit normal Parallel Curves.

Note that the trivial offset, Parallel Curves, gives you the ordinary parallel (in other words, offset) surfaces.

Geometric properties:

  • As with parallel lines, the tangent plane of a surface is parallel to the tangent plane of its general offsets.
  • As with parallel lines, the normal to a surface is also normal to its general offsets.
  • Parallel Curves where Parallel Curves and Parallel Curvesare the shape operators forParallel Curves and Parallel Curvesrespectively.

The principal curvatures are the eigenvalues of this shape operator, the principal directions of curvature are its eigenvectors, the Gaussian curvature is its determinant, and the mean curvature is half its trace.

  • Parallel Curves where Parallel Curves and Parallel Curvesare the inverses of the shape operators forParallel Curves and Parallel Curvesrespectively.

The principal radii of curvature are the eigenvalues of the inverse shape operator, the principal directions of curvature are its eigenvectors, the reciprocal of the Gaussian curvature is its determinant, and the mean radius of curvature is half its trace.

Note the similarity with the geometric properties of general offset curves.

Derivation of geometric properties for general offsets [ edit ]

The geometric properties listed above for general offset curves and surfaces can be derived for offsets of arbitrary dimension. Suppose you have a regular parametric representation of an n-dimensional surface,Parallel Curves, where the dimension Parallel Curvesis n-1. Also suppose you have a second n-dimensional surface, which can be parameterized by its unit normal,Parallel Curves, where the normal Parallel Curves(this parameterization by normal exists for surfaces whose Gaussian curvature is strictly positive and, therefore, convex, smooth and non-flat). The parametric representation of a general offset surfaceParallel Curves offset by Parallel Curves is:

Parallel Curves where Parallel Curves unit normal Parallel Curves. (The trivial offset,Parallel Curves, gives the ordinary parallel surfaces.)

First, note that the normal Parallel Curves normal Parallel Curvesby definition. Now let us apply the differential with respect toParallel Curves to Parallel Curves, which gives us its tangent vectors, spanning its tangent plane.

Parallel Curves

Note that the tangent vectors for Parallel Curves are the sum of the tangent vectors for Parallel Curves and its offset Parallel Curves, which use the same unit normal. Thus, the general offset surface has a single tangent plane and normal with Parallel Curves and Parallel Curves. This corresponds to the nature of envelopes.

Now let us consider the Weingarten equations for the shape operator, which can be written asParallel Curves. IfParallel Curves is invertible, Parallel Curves. Recall that the principal curvatures of a surface are the eigenvalues of the shape operator, the principal directions of curvature are its eigenvectors, the Gaussian curvature is its determinant, and the mean curvature is half its trace. The inverse of the shape operator preserves the same values for the radii of curvature.

Substituting into the equation for the differential Parallel Curves, we obtained:

Parallel Curves where Parallel Curves the shape operator for Parallel Curves.

Then we again use the Weingarten equations to replaceParallel Curves:

Parallel Curves where Parallel Curves the shape operator for Parallel Curves.

Then we solve for Parallel Curves and multiply both sides by Parallel Curvesto return to the Weingarten equations, this time forParallel Curves:

Parallel Curves

Parallel Curves

Thus, Parallel Curves, and inverting both sides gives us, Parallel Curves.

Equidistant

Parallel curve or equidistant of a plane curve — the envelope of a family of circles of equal radius, whose centers lie on the given curve. The concept of a parallel curve — a generalization of the concept of a parallel line to the case of plane curves.

For a parametrically given curve, the parallel curve running at a distance Parallel Curves from the given one is defined by the equations

Parallel Curves,

Parallel Curves.

Or in vector form:

Parallel Curves

Parallel Curves,

where the matrix Parallel Curves corresponds to rotating the vector 90° clockwise.

Properties of the equidistant

  • The signed curvature Parallel Curves of the parallel curve Parallel Curves is expressed in terms of the curvature Parallel Curves of the original curve Parallel Curves by the formula

    Parallel Curves

Parallel Curves

Ellipse (red), its evolute (blue) and several parallel curves (green). Note how the parallel curves break at the points where they meet the evolute

See also

  • Relief mapping (contour line)
  • Distance function and signed distance function
  • Distance field
  • Evolute
  • Involute
  • parallelism
  • parallel lines
  • antiparallelism
  • parallel line and plane
  • parallel planes

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Planometry"

Terms: Planometry