Next Article in Journal
Weaker Forms of Soft Regular and Soft T2 Soft Topological Spaces
Next Article in Special Issue
Spline Approximation, Part 2: From Polynomials in the Monomial Basis to B-splines—A Derivation
Previous Article in Journal
Instruments and Methods for Identifying Indicators of a Digital Entrepreneurial System
Previous Article in Special Issue
On the Approximation by Balázs–Szabados Operators
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Planar Typical Bézier Curves with a Single Curvature Extremum

1
School of Mechanical Engineering & Automation, Beihang University, Beijing 100191, China
2
State Key Laboratory of Lunar and Planetary Sciences, Macau University of Science and Technology, Macau 999078, China
3
State Key Laboratory of Virtual Reality Technology & Systems, Beihang University, Beijing 100191, China
4
Faculty of Information Technology, Macau University of Science and Technology, Macau 999078, China
*
Author to whom correspondence should be addressed.
Mathematics 2021, 9(17), 2148; https://doi.org/10.3390/math9172148
Submission received: 16 August 2021 / Revised: 31 August 2021 / Accepted: 1 September 2021 / Published: 3 September 2021
(This article belongs to the Special Issue Approximation Theory and Methods 2020)

Abstract

:
This paper focuses on planar typical Bézier curves with a single curvature extremum, which is a supplement of typical curves with monotonic curvature by Y. Mineur et al. We have proven that the typical curve has at most one curvature extremum and given a fast calculation formula of the parameter at the curvature extremum. This will allow designers to execute a subdivision at the curvature extremum to obtain two pieces of typical curves with monotonic curvature. In addition, we put forward a sufficient condition for typical curve solutions under arbitrary degrees for the G1 interpolation problem. Some numerical experiments are provided to demonstrate the effectiveness and efficiency of our approach.

1. Introduction

In CAGD (Computer Aided Geometric Design) applications, it is preferable to generate aesthetically pleasing surfaces, which are usually modeled by a set of feature curves with the required fairing shape. The shape of such curves and surfaces is usually influenced by curvature distribution; therefore, curvature plays a critical role in measuring the fairness of curves and surfaces. Farin [1,2] pointed out that a curve is fair on the condition that it has relatively few monotonic curvature variation segments. There is much research that discusses how to control curvature distribution based on Bézier or B-spline curves [1,3,4,5], which are effective design tools in CAD (Computer Aided Design) systems. However, the conditions of conventional methods are complex, which leads to a limitation in usefulness.
Some research concentrates on realizing the monotonic variation of curvature. Different from traditional methods, a new class of geometric methods have been developed. Mineur et al. [6] defined a special 2D Bézier curve with monotonic curvature called a “typical curve”, which has particular geometric constraints on control edges. In 2006, Farin [7] put forward the concept of “Class A Bézier curves”, a generalization of typical curves in 3D space. The key to obtain monotonic curvature and torsion is to construct a Class A matrix. However, the conditions of a Class A matrix cannot guarantee monotonic curvature [8], and several counter-examples have verified this [9]. Recently, new sufficient conditions of a 2D and 3D Class A matrix have been proposed [10,11]. In addition, Wang et al. gave other sufficient conditions for monotonic curvature of planar Bézier curves and B-spline curves without a transformation matrix [12,13].
Although the conditions of monotonic curvature have been widely studied, it is inevitable that curvature extrema are sometimes produced, such as with an interpolation problem. In recent years, articles have focused on how to control the local maxima of curvature at given points. According to [14], points with a curvature extremum are a salient geometric feature of a curve, because human beings are more sensitive to minima and maxima of curvature. To better control curvature distribution, it makes sense to identify the local maxima of curvature. Ref. [15] introduced kappa curves to interpolate a series of points with local curvature maxima only appearing at given points. Kappa curves consist of piecewise-quadratic Bézier curves and have G2 continuity over the whole curve except for the inflection points, where only G1 continuity remains. In [16], the authors similarly used piecewise rational curves as interpolatory curves to reproduce circles. Other extensions of kappa curves include two types of ϵκ-curves [17], which make it possible to control the magnitudes of local maximum curvature. In [18], a class of C2 interpolating splines were introduced, showing the superiority of C2 continuity as well as local support compared to kappa curves.
However, for the interpolatory methods mentioned above, obtaining the parameter at the curvature extremum requires much computation. Considering the generality of objective curves for the interpolation problem, we relaxed the constraints of typical Bézier curves and provided a fast calculation of the parameter at the curvature extremum under arbitrary degrees.
This paper is organized as follows. Section 2 introduces typical Bézier curves with only one curvature extremum. Section 3 gives the formula of the parameter at the curvature extremum. Section 4 shows the application in G1 interpolation. Finally, conclusions are given in Section 5.

2. Typical Bézier Curves with One Curvature Extremum

A planar k-degree Bézier curve in parametric form is defined by
P ( t ) = i = 0 k b i B i , k ( t ) ,   t 0 , 1
where b i , B i , k ( t ) = C k i t i 1 t k i are control points and Bernstein polynomials, respectively. In this paper we agree that all vectors are column vectors in a two-dimensional plane.
Typical Bézier curves belong to a special subset of Bézier curves, whose control edge vector Δ b i = b i + 1 b i is given as follows:
Δ b i = M i Δ b 0 ,   i = 0 , 1 , , k 1
where M = s cos θ sin θ sin θ cos θ with s > 0 and θ [ π , π ] , Δ b 0 0 is the first control edge vector. In this way, we get Δ b i 1 , Δ b i θ and Δ b i / Δ b i 1 s , where 〈 〉 denotes the angle formed by two vectors and ‖ ‖ denotes the Euclidean norm of a given vector. If s cos θ 1 ( s 1 ) or s cos θ ( 0 < s < 1 ), then typical curves have monotonic curvature variation [6]. In this paper, we mainly focus on the complementary relation
s cos θ < 1 ,   s 1 s > cos θ ,   0 < s < 1 ,
and prove that there exists only one curvature extremum under this condition.
Theorem 1.
Planar typical Bézier curves with Equation (3) have only one curvature extremum.
Proof. 
In essence, the parameter direction for 0 < s < 1 is opposite to that of s 1 , so the conclusion for 0 < s < 1 can be made in the same way as for s 1 . Similarly, the curve with rotation angle for θ [ π , 0 ) is symmetric to that for θ [ 0 , π ] . Hence, only the condition for s 1 and θ [ 0 , π ] will be verified.
The derivative of a Bernstein polynomial can be written as a combination of two lower degree polynomials:
d B i , k ( t ) d t = k B i 1 , k 1 ( t ) B i , k 1 ( t ) .
Therefore, based on Equation (1), the first and second derivatives of the Bézier curve can be expressed as [2]
P ( t ) = k i = 0 k 1 b i 1 B i , k 1 ( t ) ,
P ( t ) = k k 1 i = 0 k 2 b i 2 B i , k 2 ( t ) ,
where b i 1 = b i + 1 b i = Δ b i and b i 2 = b i + 1 1 b i 1 are the control points of first and second derivatives, respectively. Recall that the relative curvature is given by
κ ( t ) = det P ( t ) , P ( t ) P ( t ) 3 ,
where det P ( t ) , P ( t ) is the determinant of matrix P ( t ) , P ( t ) . Since det P ( t ) , P ( t ) = P ( t ) P ( t ) sin P ( t ) , P ( t ) , Equation (6) can be transformed to
κ ( t ) = P ( t ) P ( t ) sin P ( t ) , P ( t ) P ( t ) .
Based on Equations (4) and (5), P ( t ) , P ( t ) and P ( t ) can be represented as in Figure 1. Since the translation operation has no effect on the geometric property of P ( t ) and its derivatives P ( t ) , P ( t ) , the i-th control point b i is taken as the origin and then b i b i + 1 = b i b i 1 as in Figure 1b.
Following Figure 1 and Equation (2), it can be inferred that
b i b i + 1 1 b i b i 1 = b i b i + 2 1 b i b i + 1 1 ,   b i + 1 1 b i b i 1 = b i + 2 1 b i b i + 1 1 ,
which indicates b i b i 1 b i + 1 1 b i b i + 1 1 b i + 2 1 . Similarly, we find that b i b i 1 b i + 1 1 , b i b i + 1 1 b i + 2 1 , b i b i 2 b i + 1 2 , b i b i , k 3 1 b i + 1 , k 3 1 , b i b i , k 2 1 b i + 1 , k 2 1 and b i b i , k 3 2 b i + 1 , k 3 2 are six similar triangles. Since s cos θ < 1 ( s 1 , θ [ 0 , π ] ), b i + 1 1 will be located in the green region in Figure 2, then b i b i 1 b i + 1 1 is an acute angle and the corresponding triangle b i b i 1 b i + 1 1 is an acute triangle. Hence, the above triangles are six similar acute triangles.
Suppose b h is the endpoint of the segment b i b h , which is perpendicular to the segment b i , k 3 1 b i + 1 , k 3 1 (Figure 3), and the corresponding parameter at b h is t . Since b i b i , k 3 1 b i + 1 , k 3 1 is an acute triangle due to the similarity, the endpoint b h is located in the segment b i , k 3 1 b i + 1 , k 3 1 . Accordingly, b i b i , k 2 1 b i + 1 , k 3 1 first increases from b i b i , k 3 1 b i + 1 , k 3 1 ( < π / 2 ) to π / 2 then decreases to b i b i + 1 , k 3 1 b i , k 3 1 . Meanwhile b i b i , k 2 1 first decreases from b i b i , k 3 1 to the minimum b i b h then increases to b i b i + 1 , k 3 1 . It is not hard to draw the conclusions (I), (II) and (III), as follows.
(I).
sin P ( t ) , P ( t ) increases in 0 , t then decreases in t , 1 .
By b i b i , k 3 2 b i + 1 , k 3 2 b i b i , k 2 1 b i + 1 , k 2 1 , b i , k 3 2 b i b i + 1 , k 3 1 b i , k 3 1 and the de Casteljau algorithm, we get
P ( t ) , P ( t ) = b i , k 3 2 b i b i , k 2 1 = b i b i , k 2 1 b i , k 3 1 .
b i b i , k 2 1 b i , k 3 1 first increases from acute angle b i b i , k 3 1 b i + 1 , k 3 1 to π / 2 , where t = t and then decreases to b i b i + 1 , k 3 1 b i , k 3 1 , so does P ( t ) , P ( t ) . Consequently, P ( t ) , P ( t ) and sin P ( t ) , P ( t ) is increasing for 0 , t and decreasing for t , 1 .
(II).
P ( t ) P ( t ) increases in 0 , t then decreases in t , 1 .
From b i b i , k 3 2 b i + 1 , k 3 2 b i b i , k 2 1 b i + 1 , k 2 1 and the de Casteljau algorithm, we can obtain
P ( t ) P ( t ) = b i b i , k 3 2 b i b i , k 2 1 .
In the above equation, b i b i , k 2 1 decreases in 0 , t and then increases in t , 1 while b i b i , k 3 2 keeps constant. For this reason, we deduce P ( t ) P ( t ) increases in 0 , t and then decreases in t , 1 .
(III).
1 P ( t ) increases in 0 , t and then decreases in t , 1 .
By b i b i , k 3 1 b i + 1 , k 3 1 b i b i , k 2 1 b i + 1 , k 2 1 , there holds b i b i , k 2 1 P ( t ) = b i b i , k 3 1 b i b i , k 2 1 , thus we get
1 P ( t ) = b i b i , k 3 1 b i b i , k 2 1 2 .
In acute triangle b i b i , k 3 1 b i + 1 , k 3 1 , b i b i , k 2 1 is decreasing for 0 , t then increasing for t , 1 while b i b i , k 3 1 remains invariant; therefore 1 P ( t ) first increases and then decreases.
Based on (I), (II) and (III), the curvature function of Equation (7) first increases and then decreases, which indicates that κ ( t ) possesses a single curvature extremum for t 0 , 1 when s cos θ < 1 ( s 1 ). □
Figure 4 and Figure 5 illustrate two typical Bézier curves with a unimodal curvature profile for s 1 and 0 < s < 1 , respectively.

3. Parameter Formula and Subdivision at Curvature Extremum

In this section, we provide a fast formula to calculate parameter t at the point with curvature extremum, which also proves Theorem 1 in an algebraic way. Then we show the subdivision at t and prove that the two obtained segments belong to typical curves with monotonic curvature.

3.1. Fast Parameter Formula

Let b i , 1 1 = 1 t b i 1 + t b i + 1 1 = 1 t b i 1 + t M b i 1 be the i-th auxiliary point in the first recursive level by the de Casteljau algorithm. Here we introduce a new transformation T t = 1 t I + t M to describe linear interpolation between adjacent control edges of a typical Bézier curve (Figure 6), where I is second order identity matrix. Take h = b i , 1 1 b i 1 and φ = b i 1 , b i , 1 1 as the scale factor and rotation angle of T t for b i , 1 1 = T b i 1 (Figure 6). They can be specifically expressed as (see Appendix A)
h = 1 t 2 + 2 t 1 t s cos θ + t s 2 ,
sin φ = s t sin θ h .
From the de Casteljau algorithm (Figure 7), the i-th auxiliary point of recursive level m of the first derivative satisfies
b i , m 1 = 1 t b i , m 1 1 + t b i + 1 , m 1 1 = T t b i , m 1 1
where m = 0 , 1 , , k 1 , i = 0 , 1 , , k 1 m and b i , 0 1 = b i 1 . We can rewrite the first derivative of the typical Bézier curve as
P ( t ) = k i = 0 k 1 b i 1 B i , k 1 ( t ) = k b 0 , k 1 1 = k T k 1 t b 0 , 0 1 = k T k 1 t b 0 1 .
Similarly, the second derivative of the typical Bézier curve can be rewritten as
P ( t ) = k k 1 T k 2 t b 0 2 .
Therefore, the curvature κ ( t ) in Equation (7) now is
κ ( t ) = k k 1 T k 2 t b 0 2 k T k 1 t b 0 1 sin k T k 1 t b 0 1 , k k 1 T k 2 t b 0 2 k T k 1 t b 0 1 .  
After simplification, we get
κ ( t ) = k 1 k 1 h k b 0 2 b 0 1 sin δ φ b 0 1 .
By the sine theorem, there holds sin δ φ O b i 1 = sin δ O b i , 1 1 in O b i 1 b i , 1 1 and sin δ O b i + 1 1 = sin θ b i 1 b i + 1 1 in O b i 1 b i + 1 1 , respectively (Figure 6); thus, we can obtain
sin δ φ = s sin θ h b i 1 b i 2   ( i = 0 , 1 , , k 2 ) .
The curvature function of Equation (14) is then converted to
κ ( t ) = k 1 k 1 h k b 0 2 b 0 1 2 sin δ h = k 1 k s sin θ b 0 1 1 h k + 1
Taking the derivative in Equation (15), we can obtain κ ( t ) = k 1 k + 1 k s sin θ b 0 1 h h k + 2 . From Equation (8), h = t 1 + s sin θ 1 2 t + s 2 t h ; thus the derivative of the curvature is
κ ( t ) = k 1 k + 1 k s sin θ b 0 1 s 2 2 s cos θ + 1 t + s cos θ 1 h k + 3
The sign of κ ( t ) is related to s 2 2 s cos θ + 1 t + s cos θ 1 , which is a linear function of t and changes sign at most once in t 0 , 1 , so the number of curvature extremum is either 0 or 1. Let κ ( t ) = 0 and we get
t = 1 s cos θ s 2 2 s cos θ + 1
Since s 2 2 s cos θ + 1 = s cos θ 2 + sin 2 θ 0 , the equal sign holds only when θ = 0 and s = 1 . Under this condition, the typical Bézier curve degenerates into a straight line, and the curvature equals zero constantly. For the non-degeneration case, we aim to find out the relation between s and θ such that t 0 , 1 , which means that κ ( t ) changes sign exactly once for t 0 , 1 and the corresponding typical Bézier curve will have a single curvature extremum. Thus, only when cos θ < s < 1 / cos θ there is 0 < t < 1 , i.e., s cos θ < 1 for s 1 and s > cos θ for 0 < s < 1 . Otherwise, there is t 0 , 1 and the typical Bézier curve will have monotonic curvature for t 0 , 1 .
For t 0 , 1 , whether curvature increases or decreases depends on the sign of κ ( t ) , which is concerned with sin θ and s 2 2 s cos θ + 1 t + s cos θ 1 . We draw the domain for curvature variation in s θ coordinate system and divide it into several regions (Figure 8). The horizontal axis is limited between π and π , while the vertical axis extends infinitely upward from 0. The colored areas and curves in Figure 8 are symmetric with respect to θ = 0 .
Equation (17) also gives a fast method to calculate the parameter at the curvature extremum. In particular, when s = 1 , t 0.5 for all θ 0 . In this case, the typical Bézier curve and associated curvature plot are symmetric with respect to parameter t = 0.5 (see Figure 9).

3.2. Subdivision at Curvature Extremum

As analyzed before, the typical Bézier curve has exactly one curvature extremum at t = 1 s cos θ s 2 2 s cos θ + 1 when s cos θ < 1 ( s 1 ) or s > cos θ ( 0 < s < 1 ); thus we can subdivide it into two Bézier curves with monotonic curvature (see Figure 10). This subsection will show that these subdivided segments are still typical curves. For the first segment, the scale factor s 1 and rotation angle θ 1 of the new transformation matrix M 1 satisfy s 1 = cos θ 1 , while for the second segment, s 2 cos θ 2 = 1 .
By subdividing the typical Bézier curve at t we obtain two new transformation matrices M 1 and M 2 , which can be expressed as
M 1 = 1 t I + t M
M 2 = t I + 1 t M 1 1
where M 1 means the inverse of M . By expanding Equation (18) we get
M 1 = 1 t 0 0 1 t + t s cos θ sin θ sin θ cos θ = 1 t + t s cos θ t s sin θ t s sin θ 1 t + t s cos θ
By substituting t = 1 s cos θ s 2 2 s cos θ + 1 into it, we then obtain
M 1 = s 2 sin 2 θ s 2 2 s cos θ + 1 s sin θ s 2 sin θ cos θ s 2 2 s cos θ + 1 s sin θ s 2 sin θ cos θ s 2 2 s cos θ + 1 s 2 sin 2 θ s 2 2 s cos θ + 1
Finally, it can be reorganized as
M 1 = σ σ 1 σ 2 1 σ 2 σ
where σ = s sin θ s 2 2 s cos θ + 1 0 , 1 . Equation (20) indicates that the associated segment constructed by M 1 belongs to a typical curve with s 1 = cos θ 1 = σ , where s 1 1 and θ 1 [ π / 2 , π / 2 ] .
For Equation (19), note that M i n v = t I + 1 t M 1 ; thus we have
M i n v = t 0 0 t + 1 t 1 s cos θ sin θ sin θ cos θ = t + 1 t cos θ s 1 t sin θ s 1 t sin θ s t + 1 t cos θ s = sin 2 θ s 2 2 s cos θ + 1 s cos θ sin θ s 2 2 s cos θ + 1 s cos θ sin θ s 2 2 s cos θ + 1 sin 2 θ s 2 2 s cos θ + 1
Then, we obtain
M i n v = τ τ 1 τ 2 1 τ 2 τ
where τ = sin θ s 2 2 s cos θ + 1 0 , 1 . Now we can obtain
M 2 = M i n v 1 = 1 τ τ 1 τ 2 1 τ 2 τ
Equation (21) indicates that the associated segment constructed by M 2 belongs to a typical curve with 1 s 2 = cos θ 2 = τ , where s 2 1 and θ 2 [ π / 2 , π / 2 ] .
Here we show two examples to demonstrate the subdivision results of typical Bézier curves. The first example is given for the case s cos θ < 1 ( s 1 ) with Δ b 0 = 0 , 1 T , k = 8 and M = 1.1 cos 2 π / 7 sin 2 π / 7 sin 2 π / 7 cos 2 π / 7 (Figure 11), the minimal curvature occurs at t = 0.3747 . After subdivision at t , we get M 1 = 0.9393 0.9393 0.3431 0.3431 0.9393 and M 2 = 1.7111 0.8539 0.5204 0.5204 0.8539 for each segment. Figure 12 illustrates these two typical curves in different colors.
The original data of the second example are given by Δ b 0 = 1 , 1 T , k = 6 and M = 0.85 cos π / 3 sin π / 3 sin π / 3 cos π / 3 for the case s > cos θ ( 0 < s < 1 ), the curvature extremum corresponds to t = 0.6590 (Figure 13). After subdivision at t , we get M 1 = 0.7881 0.7881 0.6156 0.6156 0.7881 and M 2 = 1.0786 0.9271 0.3747 0.3747 0.9271 for each segment. Figure 14 illustrates these two typical curves in different colors.

4. Solving G1 Interpolation with a Single Typical Bézier Curve

4.1. A Normalized form for G1 Interpolation

The aim of G1 interpolation is to construct a fairing curve matching given positions and associated tangents at a pair of endpoints. b s t a r t is the start endpoint and b e n d is the end point. Since the geometric properties of Bézier curves are invariant under affine transformation, we can set b s t a r t at the origin and b e n d at 1 , 0 T by a pre-process, with the angle of associated tangents noted as α ( π < α < π ) and β ( π < β < π ) (Figure 15); we call this normalized form. The limitation of angular values is mainly for appearance, which requires the angular difference between two tangents to be less than 2 π as Benjamin does for shape completion in ref [19], i.e., 0 < β α < 2 π .
In this section we provide sufficient conditions for G1 interpolation to have a typical Bézier curve solution under arbitrary degree. The G1 interpolation problem with a typical Bézier curve solution is equivalent to that where the following nonlinear system
i = 1 k Δ b 0 s i 1 cos α + i 1 θ = 1
i = 1 k Δ b 0 s i 1 sin α + i 1 θ = 0
has positive roots s > 0 and Δ b 0 > 0 , where θ = β α / k 1 . The interpolatory curve will have at most one curvature extremum.

4.2. Sufficient Condition for G1 Interpolation with Typical Bézier Curve Solution

Theorem 2.
If the given angles satisfy π / 2 < α < 0 < β < π / 2 or π / 2 < β < 0 < α < π / 2 , then there exists a typical Bézier curve solution for the corresponding G1 interpolation problem for any degree k 2 .
Proof. 
In fact, these two cases are symmetric about the X-axis, so we only need to verify one of them. Here, we choose the case of π / 2 < α < 0 < β < π / 2 (see Figure 15). We can simplify Equation (23) as the following equation with respect to s :
i = 1 k s i 1 sin α + i 1 θ = 0
When π / 2 < α < 0 < β < π / 2 , then π / 2 < α α + i 1 θ α + β < π / 2 , and the series of coefficients sin α + i 1 θ will change sign exactly once; thus, there exists a positive root s r such that Equation (23) holds for arbitrary Δ b 0 by Descartes’ rule of signs [20]. Substituting s r into Equation (22), we get
Δ b 0 r = 1 i = 1 k s r i 1 cos α + i 1 θ
Since s r > 0 and cos α + i 1 θ > 0 always holds for i = 1 , 2 , , k , then Δ b 0 r > 0 . This means that s r > 0 and Δ b 0 r > 0 such that Equations (22) and (23) hold, i.e., the corresponding G1 interpolation has a typical Bézier curve solution for k 2 . □
Theorem 2 indicates that to guarantee a typical Bézier curve solution for an arbitrary degree, the two tangents in the G1 interpolation problem should be located on the opposite side of the line formed by two endpoints, and each tangent should not deviate more than π / 2 from the line.
We take k = 3 of typical Bézier curves as an example in the following part to realize G1 interpolation in normalized form. The values of s r and Δ b 0 r can be easily obtained because Equations (22) and (23) are degenerated to quadratic equations.
The boundary constraints of the first example are given as α = π / 4 and β = 2 π / 5 (see Figure 16), which belong to π / 2 < α < 0 < β < π / 2 . The green point-tangent pair and blue pair are the starting constraints and the ending constraints, respectively.
The second boundary constraints satisfy π / 2 < β < 0 < α < π / 2 with α = π / 3 and β = π / 3 (Figure 17). The point-tangent pairs are on a circular arc, and the interpolation curve will be symmetric with s r = 1 .
Theorem 2 presents a sufficient condition, but that does not mean there is no typical Bézier curve solution while the values of angles exceed the limitation of ± π / 2 . In fact, as degree k increases, the denominator of Δ b 0 r = 1 i = 1 k s r i 1 cos α + i 1 θ is more likely to be positive, for the number of positive terms will increase. However, the precise relationship between degree k and the tangent angles requires further research.

5. Conclusions

Aesthetic curves play an important role in CAD and CAGD. It is important to realize monotonously varying curvature distribution or to control the number of curvature extrema to as few as possible. In this paper, we discuss the planar typical curves with one curvature extremum, and both geometric proof and algebraic solutions are provided. The parameter at the curvature extremum can be calculated directly from typical curves, which can help us determine the point with maximal or minimal curvature quickly and subdivide it into two typical curves with monotonic curvature. Typical Bézier curves are more likely to have a solution in G1 interpolation without the restriction of monotonic curvature, and we give a sufficient condition to guarantee the interpolation solution for arbitrary degrees.
Future work should apply typical Bézier curves to geometric interpolation, matching higher order such as G2 or G3 interpolation problems, and determine the relationship between positive solutions and degree k. Furthermore, the constant s and θ for any typical curve limit the degree of freedom; thus, another aim is to realize Bézier curves with monotonic curvature using different values of s or θ .

Author Contributions

Conceptualization, A.W.; Methodology, A.W.; Writing—original draft, C.H., G.Z., A.W., S.L. and Z.C.; Writing—review and editing, C.H. and A.W.; All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the opening fund of State Key Laboratory of Lunar and Planetary Sciences (Macau University of Science and Technology) (Macau FDCT grant No. 119/2017/A3), 2017 Special Scientific Research on Civil Aircraft Project, the Natural Science Foundation of China (Project No. 61572056), and the Science and Technology Development Fund of Macau (0105/2020/A3).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

In Figure 6, h = b i , 1 1 b i 1 = T b i 1 b i 1 , since
T b i 1 = 1 t I + t M b i 1 1 t I + t M b i 1 = 1 t b i 1 + t M b i 1 1 t b i 1 + t M b i 1 = 1 t 2 b i 1 b i 1 + 2 1 t t M b i 1 b i 1 + t s 2 M b i 1 M b i 1 = 1 t 2 + 2 1 t t s cos θ + t s 2 b i 1
Substituting it into the previous equation, we get
h = T b i 1 b i 1 = 1 t 2 + 2 1 t t s cos θ + t s 2 b i 1 b i 1 = 1 t 2 + 2 t 1 t s cos θ + t s 2
For φ = b i 1 , b 1 , i 1 , in O b i 1 b i .1 1 , there holds sin φ b i 1 b i , 1 1 = sin δ O b i , 1 1 = sin δ h b i 1 due to the sine theorem. Thus,
sin φ = sin δ h b i 1 b i 1 b i , 1 1 = sin δ h b i 1 t b i 1 b i + 1 1
Similarly, sin θ b i 1 b i + 1 1 = sin δ O b i + 1 1 holds in O b i 1 b i .1 1 , and we can obtain
sin δ = sin θ b i 1 b i + 1 1 O b i + 1 1 = sin θ b i 1 b i + 1 1 s b i 1
Substituting (A1) into (A2), we get
sin φ = s t sin θ h

References

  1. Farin, G.; Sapidis, N. Curvature and the fairness of curves and surfaces. IEEE Comput. Graph. Appl. 1989, 9, 52–57. [Google Scholar] [CrossRef]
  2. Farin, G. Curves and Surfaces for CAGD: A Practical Guide, 5th ed.; Morgan Kaufmann: Burlington, MA, USA, 2002. [Google Scholar]
  3. Beeker, E. Smoothing of shapes designed with free-form surfaces. Comput.-Aided Des. 1986, 18, 224–232. [Google Scholar] [CrossRef]
  4. Wang, Y.; Zhao, B.; Zhang, L.; Xu, J.; Wang, K.; Wang, S. Designing fair curves using monotone curvature pieces. Comput. Aided Geom. Des. 2004, 21, 515–527. [Google Scholar] [CrossRef]
  5. Sapidis, N.S.; Frey, W.H. Controlling the curvature of a quadratic Bézier curve. Comput. Aided Geom. Des. 1992, 9, 85–91. [Google Scholar] [CrossRef]
  6. Mineur, Y.; Lichah, T.; Castelain, J.M.; Giaume, H. A shape controled fitting method for Bézier curves. Comput. Aided Geom. Des. 1998, 15, 879–891. [Google Scholar] [CrossRef]
  7. Farin, G. Class A Bézier curves. Comput. Aided Geom. Des. 2006, 23, 573–581. [Google Scholar] [CrossRef]
  8. Cao, J.; Wang, G. A note on Class a Bézier curves. Comput. Aided Geom. Des. 2008, 25, 523–528. [Google Scholar] [CrossRef]
  9. Wang, A.; Zhao, G. Counter examples of “Class A Bézier curves”. Comput. Aided Geom. Des. 2018, 61, 6–8. [Google Scholar] [CrossRef]
  10. Cantón, A.; Fernández-Jambrina, L.; Vázquez-Gallo, M.J. Curvature of planar aesthetic curves. J. Comput. Appl. Math. 2021, 381, 113042. [Google Scholar] [CrossRef]
  11. Tong, W.; Chen, M. A sufficient condition for 3D typical curves. Comput. Aided Geom. Des. 2021, 87, 101991. [Google Scholar] [CrossRef]
  12. Wang, A.; Zhao, G.; Hou, F. Constructing Bézier curves with monotone curvature. J. Comput. Appl. Math. 2019, 355, 1–10. [Google Scholar] [CrossRef]
  13. Wang, A.; He, C.; Hou, F.; Cai, Z.; Zhao, G. Designing planar cubic B-spline curves with monotonic curvature for curve interpolation. Comput. Vis. Media 2020, 6, 349–354. [Google Scholar] [CrossRef]
  14. Levien, R.; Séquin, C.H. Interpolating splines: Which is the fairest of them all? Comput.-Aided Des. Appl. 2009, 6, 91–102. [Google Scholar] [CrossRef] [Green Version]
  15. Yan, Z.; Schiller, S.; Wilensky, G.; Carr, N.; Schaefer, S. K-curves: Interpolation at local maximum curvature. ACM Trans. Graph. (TOG) 2017, 36, 1–7. [Google Scholar] [CrossRef]
  16. Yan, Z.; Schiller, S.; Schaefer, S. Circle reproduction with interpolatory curves at local maximal curvature points. Comput. Aided Geom. Des. 2019, 72, 98–110. [Google Scholar] [CrossRef]
  17. Miura, K.T.; Gobithaasan, R.U.; Salvi, P.; Wang, D.; Sekine, T.; Usuki, S.; Inoguchi, J.; Kajiwara, K. ϵκ-Curves: Controlled local curvature extremum. Vis. Comput. 2021, 1–16. [Google Scholar] [CrossRef]
  18. Yuksel, C. A Class of C 2 Interpolating Splines. ACM Trans. Graph. (TOG) 2020, 39, 1–14. [Google Scholar] [CrossRef]
  19. Kimia, B.B.; Frankel, I.; Popescu, A.M. Euler spiral for shape completion. Int. J. Comput. Vis. 2003, 54, 159–182. [Google Scholar] [CrossRef]
  20. Henrici, P. Applied and Computational Complex Analysis; Wiley: New York, NY, USA, 1988; Volume 1. [Google Scholar]
Figure 1. The construction of typical Bézier curves. (a) Control edges are designed according to (a) Δ b i = M i Δ b 0 ; (b) b i b i + 1 1 = b i + 1 b i + 2 , b i b i + 2 1 = b i + 2 b i + 3 ; (c) P ( t ) and P ( t ) are generated by the de Casteljau algorithm.
Figure 1. The construction of typical Bézier curves. (a) Control edges are designed according to (a) Δ b i = M i Δ b 0 ; (b) b i b i + 1 1 = b i + 1 b i + 2 , b i b i + 2 1 = b i + 2 b i + 3 ; (c) P ( t ) and P ( t ) are generated by the de Casteljau algorithm.
Mathematics 09 02148 g001
Figure 2. The domain of b i + 1 1 for s cos θ < 1 ( s 1 , θ [ 0 , π ] ) in the local coordinate system.
Figure 2. The domain of b i + 1 1 for s cos θ < 1 ( s 1 , θ [ 0 , π ] ) in the local coordinate system.
Mathematics 09 02148 g002
Figure 3. Acute triangle b i b h b i , k 3 1 b i + 1 , k 3 1 , where b h corresponds to parameter t .
Figure 3. Acute triangle b i b h b i , k 3 1 b i + 1 , k 3 1 , where b h corresponds to parameter t .
Mathematics 09 02148 g003
Figure 4. A typical Bézier curve with k = 4 when s cos θ < 1 ( s 1 ). (a) s = 1.4 , θ = π / 3 and Δ b 0 = 1 , 0 T ; (b) curvature plot.
Figure 4. A typical Bézier curve with k = 4 when s cos θ < 1 ( s 1 ). (a) s = 1.4 , θ = π / 3 and Δ b 0 = 1 , 0 T ; (b) curvature plot.
Mathematics 09 02148 g004
Figure 5. A typical Bézier curve with k = 5 when s > cos θ ( 0 < s < 1 ). (a) s = 0.9 , θ = π / 4 and Δ b 0 = 1 , 0 T ; (b) curvature plot.
Figure 5. A typical Bézier curve with k = 5 when s > cos θ ( 0 < s < 1 ). (a) s = 0.9 , θ = π / 4 and Δ b 0 = 1 , 0 T ; (b) curvature plot.
Mathematics 09 02148 g005
Figure 6. Transformation effect of matrix M and T t .
Figure 6. Transformation effect of matrix M and T t .
Mathematics 09 02148 g006
Figure 7. The de Casteljau algorithm of P ( t ) .
Figure 7. The de Casteljau algorithm of P ( t ) .
Mathematics 09 02148 g007
Figure 8. Regions for curvature variation of typical Bézier curves. Curvature decreases in the light yellow area and increases in the light green area. While in the white area, curvature variation is not monotonous and possesses only one extremum. Specifically, for θ < 0 there is a local minimum and for θ > 0 there is a local maximum.
Figure 8. Regions for curvature variation of typical Bézier curves. Curvature decreases in the light yellow area and increases in the light green area. While in the white area, curvature variation is not monotonous and possesses only one extremum. Specifically, for θ < 0 there is a local minimum and for θ > 0 there is a local maximum.
Mathematics 09 02148 g008
Figure 9. Symmetric typical Bézier curve with k = 10 when s = 1 . (a) θ = π / 6 and Δ b 0 = 1 , 1 T ; (b) symmetric curvature plot with a local minimum at t = 0.5 .
Figure 9. Symmetric typical Bézier curve with k = 10 when s = 1 . (a) θ = π / 6 and Δ b 0 = 1 , 1 T ; (b) symmetric curvature plot with a local minimum at t = 0.5 .
Mathematics 09 02148 g009
Figure 10. Subdivision of a cubic typical Bézier curve at curvature extremum.
Figure 10. Subdivision of a cubic typical Bézier curve at curvature extremum.
Mathematics 09 02148 g010
Figure 11. Typical Bézier curve with degree k = 8 for s cos θ < 1 ( s 1 ). (a) Transformation matrix M = 1.1 cos 2 π / 7 sin 2 π / 7 sin 2 π / 7 cos 2 π / 7 ; point with curvature extremum is represented by yellow dot; (b) curvature plot has a minimum at t = 0.3747 .
Figure 11. Typical Bézier curve with degree k = 8 for s cos θ < 1 ( s 1 ). (a) Transformation matrix M = 1.1 cos 2 π / 7 sin 2 π / 7 sin 2 π / 7 cos 2 π / 7 ; point with curvature extremum is represented by yellow dot; (b) curvature plot has a minimum at t = 0.3747 .
Mathematics 09 02148 g011
Figure 12. Results under subdivision. (a) Two typical curve segments join at t ; (b) first segment has decreasing curvature variation; (c) second segment has increasing curvature variation.
Figure 12. Results under subdivision. (a) Two typical curve segments join at t ; (b) first segment has decreasing curvature variation; (c) second segment has increasing curvature variation.
Mathematics 09 02148 g012
Figure 13. Typical Bézier curve with degree k = 6 for s > cos θ ( 0 < s < 1 ). (a) Transformation matrix M = 0.85 cos π / 3 sin π / 3 sin π / 3 cos π / 3 ; point with curvature extremum is represented by yellow dot; (b) curvature plot has a maximum at t = 0.6590 .
Figure 13. Typical Bézier curve with degree k = 6 for s > cos θ ( 0 < s < 1 ). (a) Transformation matrix M = 0.85 cos π / 3 sin π / 3 sin π / 3 cos π / 3 ; point with curvature extremum is represented by yellow dot; (b) curvature plot has a maximum at t = 0.6590 .
Mathematics 09 02148 g013
Figure 14. Results under subdivision. (a) Two typical curve segments join at t ; (b) first segment has increasing curvature variation; (c) second segment has decreasing curvature variation.
Figure 14. Results under subdivision. (a) Two typical curve segments join at t ; (b) first segment has increasing curvature variation; (c) second segment has decreasing curvature variation.
Mathematics 09 02148 g014
Figure 15. The boundary constraints of G1 interpolation in normalized form.
Figure 15. The boundary constraints of G1 interpolation in normalized form.
Mathematics 09 02148 g015
Figure 16. Cubic typical Bézier curve solution for π / 2 < α < 0 < β < π / 2 . (a) s r = 0.7482 , Δ b 0 r = 0.6220 ; (b) corresponding curvature plot.
Figure 16. Cubic typical Bézier curve solution for π / 2 < α < 0 < β < π / 2 . (a) s r = 0.7482 , Δ b 0 r = 0.6220 ; (b) corresponding curvature plot.
Mathematics 09 02148 g016
Figure 17. Cubic typical Bézier curve solution for π / 2 < β < 0 < α < π / 2 . (a) s r = 1 , Δ b 0 r = 0.5 ; (b) corresponding curvature plot.
Figure 17. Cubic typical Bézier curve solution for π / 2 < β < 0 < α < π / 2 . (a) s r = 1 , Δ b 0 r = 0.5 ; (b) corresponding curvature plot.
Mathematics 09 02148 g017
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

He, C.; Zhao, G.; Wang, A.; Li, S.; Cai, Z. Planar Typical Bézier Curves with a Single Curvature Extremum. Mathematics 2021, 9, 2148. https://doi.org/10.3390/math9172148

AMA Style

He C, Zhao G, Wang A, Li S, Cai Z. Planar Typical Bézier Curves with a Single Curvature Extremum. Mathematics. 2021; 9(17):2148. https://doi.org/10.3390/math9172148

Chicago/Turabian Style

He, Chuan, Gang Zhao, Aizeng Wang, Shaolin Li, and Zhanchuan Cai. 2021. "Planar Typical Bézier Curves with a Single Curvature Extremum" Mathematics 9, no. 17: 2148. https://doi.org/10.3390/math9172148

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop