Next Article in Journal
A Binary Black Widow Optimization Algorithm for Addressing the Cell Formation Problem Involving Alternative Routes and Machine Reliability
Previous Article in Journal
Correction: Islam et al. Generalized Moment Method for Smoluchowski Coagulation Equation and Mass Conservation Property. Mathematics 2023, 11, 2770
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A New Definition of the Dual Interpolation Curve for CAD Modeling and Geometry Defeaturing

1
School of Mechanical Engineering, Shandong University of Technology, Zibo 255000, China
2
Shandong Luoxiang Automobile Manufacturing Postdoctoral Research Institute, Linyi 276211, China
3
School of Mathematics and Statistics, Shandong University of Technology, Zibo 255000, China
4
Institute of Advanced Ocean Study, Ocean University of China, Qingdao 266100, China
*
Author to whom correspondence should be addressed.
Mathematics 2023, 11(16), 3473; https://doi.org/10.3390/math11163473
Submission received: 8 July 2023 / Revised: 3 August 2023 / Accepted: 9 August 2023 / Published: 11 August 2023
(This article belongs to the Section Computational and Applied Mathematics)

Abstract

:
The present paper provides a new definition of the dual interpolation curve in a geometric-intuitive way based on adaptive curve refinement techniques. The dual interpolation curve is an implementation of the interpolatory subdivision scheme for curve modeling, which comprises polynomial segments of different degrees. Dual interpolation curves maintain various desirable properties of conventional curve modeling methods, such as local adaptive subdivision, high interpolation accuracy and convergence, and continuous and discontinuous boundary representation. In addition, the dual interpolation curve is mainly applied to solve the difficult geometry defeaturing problems for curve modeling in existing computer-aided technology. By adding fictitious and intrinsic nodes inside or at the vertices of interpolation elements, the dual interpolation curve is flexible and convenient for characterizing a set of ordered points or discrete segments. Combined with the Lagrange interpolation polynomial and meshless method, the proposed approach is capable of characterizing the non-smooth boundary for geometry defeaturing. Experimental results are given to verify the validity, robustness, and accuracy of the proposed method.

1. Introduction

Reverse engineering is an attractive technique for computer-aided design (CAD) model construction from the scattered points of an existing solid [1,2]. Curve modeling has emerged as a powerful technology to treat experimental data points, which is concerned with fitting the given point set to a suitable mathematical model [3,4,5]. The existing geometric model in reverse engineering can be measured using various scanning and probing techniques. No matter what curve modeling techniques are applied, geometry noises and incomplete data points are often unavoidable in reverse engineering. Another critical difficulty in curve modeling is that measured points with irregular formats are tricky for desired curve construction [6,7]. For complicated geometries, curve modeling for automatic geometry repair is still a bottleneck in the field of computer-aided geometric design.
Various curve modeling methods have been proposed to eliminate the difficulties in dealing with solid modeling. Among all the representations, non-uniform rational B-spline (NURBS) has become the industrial standard for free-form curve construction [8]. For better adaptive curve construction, many different types of splines have been put forward for various curve modeling purposes, such as B-Spline [9], T-Spline [10], X-Spline [11], PH spline [12], and Bezier curves [13]. In complicated solid modeling, there are plenty of lower-degree primitives and higher-degree free-form patches. Consequently, conventional curve modeling methods are mathematically incapable of fulfilling the role of dealing with geometry defeaturing problems. For complex geometry modeling, if the lower-degree solid boundary is reconstructed by a few higher-degree surfaces, which will produce undesired non-smooth geometry features (see Figure 1). In that case, it is still a challenging task to maintain smoothness and continuity between the adjacent curved boundaries [14].
The alternative is to represent the solid boundary by subdivision methods [15,16], which is also a powerful and efficient technique to generate desired curves or surfaces. The subdivision scheme can be considered as the generalization of discrete modeling by spline representation, such as the Catmull–Clark subdivision [17], Doo–Sabin subdivision [18], Loop subdivision [19], and other classes of interpolatory subdivision schemes. The adaptive subdivision algorithm [20,21,22,23] is less cumbersome by defining the refinement rules to add new points as linear combinations of old ones. The process continues until the given terminating criteria for all discrete segments or patches are not met. Furthermore, when fitting a set of ordered points using subdivision techniques, each segment can be considered an elementary mathematical problem. Arbitrary curve modeling using discrete segments can be controlled adaptively and efficiently within a prescribed tolerance.
This paper introduces a novel method for constructing a dual interpolation curve from any given point set. By using extensive processing of dominant points, the dual interpolation curve is capable of producing a better curve with the desired shape fidelity. The dual interpolation curve has many interesting properties, making it an efficient and powerful technique for shape modeling. The contributions and innovations of the dual interpolation curve can be summarized in the following aspects:
(1)
Combined with fictitious and intrinsic nodes, the dual interpolation curve is flexible and reliable for curve modeling fairly.
(2)
An attractive scheme of the dual interpolation curve is proposed to characterize lower-order or higher-order curves along the non-smooth boundary.
(3)
Since multiple nodes are assigned on the non-smooth boundary, the dual interpolation curve is capable of providing more convenience for complex geometry defeaturing.
(4)
The dual interpolation curve is invariably achievable to implement based on an easily accessible and reliable way.

2. The Dual Interpolation Curve Modeling Method

2.1. Dual Interpolation Elements

Based on the insight that boundary discretization can be characterized by different types of elements, a novel curve modeling method named the dual interpolation curve is presented. As depicted in Figure 2, the dual interpolation elements are applied in the implementation of curve modeling and geometry repair. Combined with fictitious nodes and intrinsic nodes, the accuracy of the dual interpolation elements is superior to conventional elements. The symbols DL1, DL2, and DL3 represent the constant, linear, and quadratic dual interpolation elements, respectively. The dual interpolation elements with the notations DL1, DL2, and DL3 indicate the number of interior nodes for the given element. In order to better characterize the continuous and discontinuous curves, two categories of dual interpolation elements are proposed for curve modeling. As illustrated in Figure 3 and Figure 4, the shape functions of the DL1, DL2, and DL3 elements used for curve modeling are given by Equations (1)–(3), respectively. The numbers labeled in Figure 3 indicate the computational nodes corresponding to the shape functions of the DL1, DL2, and DL3 elements. It can be concluded that the result of the summation of the polynomial weights is equal to one, which is an essential condition for translational invariance.
{ N 1 = 0.5 ξ ( ξ 1 ) , N 2 = 0.5 ξ ( ξ + 1 ) , N 3 = ( 1 + ξ ) ( 1 ξ ) ,
{ N 1 = 1 16 ( 9 ξ 2 1 ) ( ξ 1 ) , N 2 = 1 16 ( 9 ξ 2 1 ) ( ξ + 1 ) , N 3 = 9 16 ( ξ 2 1 ) ( 3 ξ 1 ) , N 4 = 9 16 ( ξ 2 1 ) ( 3 ξ + 1 )
{ N 1 = 2 3 ξ ( ξ 2 1 4 ) ( ξ 1 ) , N 2 = 2 3 ξ ( ξ 2 1 4 ) ( ξ + 1 ) , N 3 = 8 3 ξ ( ξ 2 1 ) ( ξ 1 2 ) , N 4 = ( ξ 2 1 ) ( 4 ξ 2 1 ) , N 5 = 8 3 ξ ( ξ 2 1 ) ( ξ + 1 2 )
where ξ∈[−1, 1] is the local parameter coordinates in defining shape functions.
Similar to other types of curves, dual interpolation curves with different orders also can be used to characterize the shapes of a real object. For continuous curve representation, only one fictitious node is distributed at the points of the elements. For discontinuous curve representation, multiple fictitious nodes are distributed at the discontinuous boundary, such as geometric corners, non-smooth geometric boundary edges, etc. By introducing intrinsic and fictitious nodes, continuous and discontinuous curve representations can be better characterized, especially for geometry repair in CAD modeling.

2.2. First-Layer Interpolation for the Dual Interpolation Curve

In the dual interpolation curve modeling procedure, two types of interpolation nodes are defined, i.e., the intrinsic and fictitious nodes. These two categories of interpolation nodes are capable of providing more valuable information about the main features of arbitrary curve representation. The boundary variables are interpolated by first-layer interpolation in the dual interpolation curve, which is similar to interpolation using conventional continuous elements. The shape functions of a dual interpolation element are derived from both intrinsic and fictitious nodes.
Dual interpolation curve modeling is interpolated with Lagrange polynomials [24] in first-layer interpolation. Unlike conventional interpolation elements, both the intrinsic and fictitious nodes of the dual interpolation curve must be taken into account. For dual interpolation curve modeling, the unknown variables at any point ξ are evaluated by:
C ( ξ ) = α = 1 n α N α s ( ξ ) P ( Q α s ) + β = 1 n β N β v ( ξ ) P ( Q β v )
where C ( ξ ) represents a point defined on the dual interpolation curve, , are the total number of intrinsic nodes and fictitious nodes, respectively; P ( Q α s ) , N α s ( ξ ) indicate the nodal values and shape functions of intrinsic nodes, respectively; P ( Q β v ) , N β v ( ξ ) indicate the nodal values and shape functions of fictitious nodes, respectively.

2.3. Second-Layer Interpolation for the Dual Interpolation Curve

Since the fictitious nodal values for dual interpolation curve modeling are unknown, the second layer is formulated to condense the degrees of freedom for all fictitious nodes. The meshless interpolation technique is developed on the basis of moving least-square (MLS) approximation [25] for interpolating the variables of fictitious nodes in this interpolation. The proposed curve is actually an interpolation curve, and it does not have continuity up to the second degree. However, for continuous and discontinuous curve representations, singular or multiple fictitious nodes can be distributed at the non-smooth geometric boundaries. This is a potential advantage of the proposed curve for complex geometry repair in future work. The details of the MLS approximation for second-layer interpolation are described below.
Given a fictitious node Q β v , the MLS interpolants in its neighborhood are given by:
P ( Q β v ) = i = 1 M Φ i s ( t ) P ^ ( Q i s )
For the MLS interpolants of fictitious node Q β v , the shape functions Φ i s ( t ) of all intrinsic nodes Q i s (i = 1, 2,…, M) are defined as:
Φ = { Φ 1 s , Φ 2 s , , Φ i s , , Φ M s } = p T ( t ) A 1 ( t ) B ( t )
The corresponding vectors and matrices are represented by:
p T ( t ) = [ 1 ,   t ,   t 2 ,   t 3 ] ,   m = 4
A 1 ( t ) = i = 1 M w i p ( t ) p T ( t ) ,
B ( t ) = [ w 1 p ( t 1 ) , w 2 p ( t 2 ) , w i p ( t i ) , , w M p ( t M ) ]
where w i (i = 1, 2,…, M) are the weight functions of intrinsic nodes in the neighborhood of the given fictitious node, Q β v , t represents the parameter values of points on the dual interpolation curve, and p T is the basis function vector of relating intrinsic nodes. Note that the fictitious nodal values u ^ ( Q α s ) are different from the intrinsic nodal values of u ( Q α s ) in general. More details of the MLS approximation are available in [26,27].

3. Adaptive Curve Construction Using the Dual Interpolation Curve

The dual interpolation curve modeling method takes well-known steps by preprocessing the initial points, dominant point selection, and fair dual interpolation curve construction (see Figure 5). However, the uniqueness of the proposed approach lies in dominant point selection and fair dual interpolation curve construction for smooth curve modeling.

3.1. Preprocessing of Points for Curve Modeling

In order to create a high-quality and well-shaped dual interpolation curve, it is essential that the measured points are preprocessed before curve modeling. Dual interpolation curve modeling is implemented with adaptive curve refinement using dominant points. The dominant points for curve modeling are extracted by considering the geometry definition, the position, and the curvature of each measured point, such as inflection points and local curvature maximum (LCM) points [28]. However, there are some undesired noisy points in the implementation of the preprocessing of points for curve modeling. If the dominant points are selected without considering any geometrical features, dual interpolation curve modeling will cause a lack of smoothness in the ultimate curve representation.
In the preprocessing procedure of dual interpolation curve modeling, two types of dominant points are considered, namely, the LCM points and the endpoints. Compared to the others, the curvature characteristics of the LCM points are capable of providing more valuable information about the main features of the given points. For the given curve C ( t ) , a mathematical description of the curvature k i at each point P i is defined by:
k i = C ˙ ( t i ¯ ) × C ¨ ( t i ¯ ) / C ˙ ( t i ¯ ) 3
where C ˙ ( t i ¯ ) and C ¨ ( t i ¯ ) are the first and second derivatives of the curve C ( t ) at the parameter t i ¯ , respectively.
According to the curvatures k i estimated at the point set, the point P i is taken for an LCM point based on the following rules, i.e., k i > k i 1 and k i > k i 1 . The lower curvature bound k l o w for selection of dominant points can be defined as k l o w = k a v g / 4 , where k a v g is the average of all the discrete point sets. Most of the LCM points with curvatures less than k l o w are excluded in the optimal dominant points. In addition, the distinct discontinuous points of piecewise parametric curves are required to be separated independently for further processing. Two end points are also essential for high-quality curve modeling.
The curvature characteristics of the LCM points are capable of providing more valuable information about the main features of the given points. With the dominant points for curve modeling available, a well-shaped dual interpolation curve can be formed based on the adaptive refinement scheme. As shown in Figure 6, the results demonstrate the advantages of not only fewer nodes and simple formulation, but also feasible implementation and satisfactory accuracy. It is appealing that a well-shaped curve can be achieved by dominant point selection for capturing geometric features.

3.2. The Dual Interpolation Curve for Smooth Curve Modeling

Given a collection of points measured from the geometric model, the requirements of the fitting principle must be satisfied. Specifically, the scattered point set is required to be arranged in sequence and presented in the dual interpolation elements form. In the implementation of curve modeling, dual interpolation curve-fairing techniques are adopted here for the parameterization of the given points, aiming to characterize these points to form a smooth curve. Significant warp and undesired twists are entirely preventable through a dual interpolation curve-fairing procedure.
With the given ordered dominant points, a dual interpolation curve can be constructed by determining the exact interpolation of certain parameter values with piecewise dual interpolation elements. For dual interpolation curve modeling, the shaped functions are determined by the parameterized pattern of the discrete point set. Without the loss of generality, assuming that dominant points P i ( i = 0 , 1 , 2 , , n ) are selected among the given point set, the mathematical description of the dual interpolation curve is defined by:
C ( t ) = i = 0 n N i , p ( t ) P i ( t min t t max )
where N i , p ( t ) are the shape functions of intrinsic nodes or fictitious nodes defined on the parameter space T = { t min , t 1 , , t i , , t max } .
Note that the parameterization for dual interpolation curve modeling is determined by the distributing form of the given scattered points. In order to create a well-shaped dual interpolation curve, the point filtering procedure is incorporated to displace the undesired noisy points. With the point filtering procedure, the parameter value t i for each dominant point can be computed by the following form:
t i = j = 1 i | Q j Q j 1 | 1 2 j = 1 n | Q j Q j 1 | 1 2
In the process of dual interpolation curve modeling, the dual interpolation elements are constructed in the ordered parameter space. For each dual interpolation element, the parameter values t i can also be represented in terms of the intrinsic nodal coordinates in defining shape functions. Consequently, adaptive dual interpolation curve construction with less deviation can be achieved for arbitrary discrete point sets.

4. Curve Modeling for Continuous and Discontinuous Curve Representations

Due to the advantages of the dual interpolation elements in terms of accuracy and performance, dual interpolation curves are flexible and convenient for characterizing arbitrary curve representation. By adding fictitious nodes and intrinsic nodes inside or at the vertices of elements, the proposed approach is flexible and convenient for characterizing continuous or discontinuous curve representation by using the dual interpolation curve. In addition, we also demonstrate the potential advantages of the dual interpolation curve for alleviating the heavy task of complex geometry repair.

4.1. The Dual Interpolation Curve for Continuous Curve Representation

Parametric representations of geometric curves are generally classified into two primary kinds: continuous functions and discontinuous functions. In contrast to conventional methods, the dual interpolation curve modeling method can naturally characterize both continuous and discontinuous functions based on the introduction of fictitious nodes. Figure 7 provides a schematic illustration of a dual interpolation curve for continuous curve representation.
For continuous curve representation, arbitrary types of dual interpolation elements can characterize continuous curves. As shown in Figure 7, intrinsic or fictitious nodes can be distributed on the boundaries of the elements. In this case, the dual interpolation elements are equivalent to the conventional interpolation elements. By adding fictitious and intrinsic nodes inside or at the vertices of the elements, the dual interpolation curve is flexible and adaptable to characterize the continuous curve.

4.2. The Dual Interpolation Curve for Discontinuous Curve Representation

In geometric modeling, curve fitting in computer graphics prefers piecewise parametric curves to represent geometric entities. The ultimate goal of curve modeling is to construct a fair freeform curve with specific geometric properties. However, due to the complexity of solid modeling, there are some unwanted geometric features, such as short edges, narrow faces, fragmentary boundary edges, sharp features, etc. Consequently, the geometric models are not mathematically watertight using Boolean operations. That is, gaps are unavoidable in conventional trimmed mathematical models. For complex geometries, the accurate representation of parametric trimming curves with discontinuous functions is still a bottleneck in curve modeling.
For discontinuous curve representation or geometry defeaturing, multiple nodes are assigned separately on the non-smooth geometric boundary. In general, fictitious and intrinsic nodes can be distributed on the boundary of the elements reasonably. As depicted in Figure 8, the fictitious nodes on the discontinuous boundary are generated at identical locations separately. These fictitious nodes are situated at the endpoints of two adjacent curves, which makes the dual interpolation curve naturally independent for discontinuous curve modeling. Unlike continuous curve representation using the dual interpolation curve, the fictitious nodes at the endpoints are opaque when determining the influence domain in MLS. That is, the intrinsic nodes lying on the adjacent curves are not included in the search range. Based on flexible configuration features and stable performance, the dilemma of complex geometry repair using the dual interpolation curve is also avoidable.

5. Experimental Results

The accuracy and feasibility of the proposed method are verified through several numerical examples calculated by the dual interpolation curve. A comparison of the dual interpolation curve and conventional approaches for curve modeling is also given in this section. Several examples of different types of dual interpolation elements are employed to verify the availability that the dual interpolation curve is reasonable and applicable to characterize continuous and discontinuous curve modeling in Section 5.2 and Section 5.3, respectively. According to the proposed method, relative errors measured in H1-norm and L2-norm [29,30] are given to demonstrate the accuracy and convergence of dual interpolation curves, which are defined as:
H 1 n o r m : e r r o r = 1 N i = 1 N | P i ( e ) P i ( n ) |
L 2 n o r m : e r r o r = 1 N i = 1 N | P i ( e ) P i ( n ) | 2
where N indicates the number of the specific sample points for measurement, P i ( e ) and P i ( n ) represent the reference points and new generated points, respectively.

5.1. Convergence Assessment of Dual Interpolation Curve Modeling

This paper presents the dual interpolation curve modeling method for continuous and discontinuous curve representation from arbitrary discrete point sets. The first example is performed to verify the effectiveness and convergence behavior of the proposed method. Unless otherwise mentioned, the constant, linear, and quadratic elements in dual interpolation curve modeling are denoted by DualIntpCrv_DL1, DualIntpCrv_DL2, and DualIntpCrv_DL3, respectively. The conventional elements with the notation CrvIntp_L1, CrvIntp_L2, and CrvIntp_L3 represent constant, linear, and quadratic interpolation elements, respectively. To illustrate the accuracy and convergence of the curve modeling method, a set of random points is sampled from the following arbitrary plane curve, which is given by:
C(t) = 0.0912t3 − 0.8596t2 + 1.8527t − 0.1649
The given geometric curve is subdivided into 10, 20, 40, 80, 160, and 320 dual interpolation elements to study the convergence behavior of different orders of elements. The interpolation points are uniformly distributed on the given curve. Comparisons of the convergence performance of dual interpolation curve modeling with different orders of elements are shown in Figure 9 and Figure 10. The results of ultimate curve modeling using the dual interpolation curve and conventional interpolation methods with 40 elements are shown in Figure 11. According to the experimental results, the accuracy and convergence of the dual interpolation curve are both superior to the conventional interpolation methods under the same number of elements. It is also appealing that the dual interpolation curve modeling method is more flexible and better at converging with increasing nodes.

5.2. Evaluation of the Dual Interpolation Curve for Arbitrary Curve Modeling

The second example further demonstrates the feasibility and availability of the dual interpolation curve for arbitrary curve modeling. The chord length method distributes the interpolation points on the given curve according to geometric features. In order to construct a dual interpolation curve with high quality, the point filtering procedure is implemented to preprocess the undesired noisy points. Different types of dual interpolation elements are incorporated into the implementation of the dual interpolation curve, which is adopted to examine the effectiveness and convergence behavior of dual interpolation curve modeling with different parameterizations.
C ( t ) = 2 e 0.5 t sin ( 2 π t )
In the case that tolerance is specified, we implemented the dual interpolation curve for arbitrary curve modeling with a total of 40, 80, 160, and 320 dual interpolation elements. Comparisons of the convergence performance of the MLS and dual interpolation curve modeling with different orders of elements are shown in Figure 12 and Figure 13. Different parameterization does not influence ultimate dual interpolation curve modeling. It also verified that dual interpolation curve modeling is less sensitive to the density and distribution of the elements. The curve modeling results of the dual interpolation curve with a total of 80 different types of dual interpolation elements and MLS approximation are shown in Figure 14. As is illustrated in Figure 15, the curve modeling results of the dual interpolation curve and the MLS are evaluated from 1000 measuring points uniformly distributed in the parameter space. CPU time involves the interpolation construction of the dual interpolation curve and the time-consuming process of MLS matrix inversion. It is appealing that the dual interpolation curve with few interpolation nodes can obtain higher accuracy and efficiency than the MLS approximation.

5.3. Evaluation of Dual Interpolation Curve Modeling with Non-Smooth Junctions

For the curve representation with non-smooth junctions, the value of the predicted curve expression changes precipitously in the vicinity of the discontinuous point or the non-smooth geometric boundary. It is tricky to simultaneously characterize the continuous or discontinuous curves using conventional methods. By adding fictitious and intrinsic nodes in the interpolation elements, the dual interpolation curve is also a unique and efficient technique for curve modeling with a non-smooth geometric boundary. To further examine the behavior of dual interpolation curve modeling, arbitrary curve modeling with non-smooth junctions is investigated. The specific representation of discontinuous curve modeling is given by:
C ( t ) = { e t t 3 t [ 0 , 2 ] , 300 sin ( t ) sin ( 2 t ) cos ( t ) cos ( 2 t ) t ( 2 , 2 π ]
This example is given to discuss the reliability, stability, and convergence behavior of the dual interpolation curve compared with other conventional methods. The dual interpolation curve is implemented by 40, 80, 160, and 320 elements to study the convergence performance. For a fair comparison, conventional interpolation methods and the MLS approximation are implemented by searching the smooth range of the piecewise function. When determining the influence domain in the MLS approximation, the discontinuous point is deemed as the opaque node; that is, the reference nodes beyond the discontinuous point are not included. As illustrated in Figure 16 and Figure 17, high flexibility and superior performance can be affirmative in the implementation of the dual interpolation curve. The curve modeling results of the dual interpolation curve with a total of 80 different types of dual interpolation elements and other methods are shown in Figure 18. Due to the existence of multiple nodes at the discontinuous boundary, discontinuous curve representation can be naturally characterized by the dual interpolation curve.

5.4. Evaluation of the Dual Interpolation Curve for Geometry Defeaturing

The primary goal of curve modeling is to construct a fair free-form curve with certain geometric properties. Since trimmed curves are not mathematically watertight because of some unwanted gaps or holes, some disgusting geometric features are often unavoidable in solid modeling. However, conventional curve modeling methods cannot fulfill their primary role of naturally representing discontinuous curves with non-smooth junctions. Complicated and diversified curve folds are observed in smooth skinning when using high-order curves for geometry repair. For complex geometries, automatic geometry repair and mesh generation are still bottlenecks in CAE analysis. A complicated curve fitting with undesired features, as shown in Figure 19, is investigated to study the performance of the dual interpolation curve representation for complex geometries.
This example demonstrates the potential advantages of the dual interpolation curve to deal with complex geometry models in a fully automated manner. The real-world geometries of the gear were downloaded from the web without any feature removal or alteration. The outer contour of the gear model is comprised of a few short edges, which causes some problems in mesh generation and further analysis. An entire dual interpolation curve is constructed around the boundary of the gear based on the adaptive curve refinement technique.
A comparison of the convergence and accuracy of the dual interpolation curve and the NURBS curve fitting method for geometry defeaturing is presented in Figure 20 and Figure 21. It is evident from Figure 21 that the NURBS curve cannot well handle the complex geometry models with non-smooth junctions when a higher-degree curve fitting process is performed. Since multiple fictitious nodes are assigned on the sharp corners, the dual interpolation curve can be well characterized by the boundary of the gear model (see Figure 22), which is a potential advantage of the proposed method for complex geometry repair and automatic mesh generation.

6. Conclusions

This paper presents an adaptive dual interpolation curve modeling method for continuous or discontinuous curve representation. The dual interpolation curve has some prominent geometric properties over the other methods, such as improvement of interpolation accuracy, unity of the Lagrange polynomial and meshless interpolation, and alleviation of the continuity requirements of curve fitting. In the implementation of the dual interpolation curve, a novel type of element named the dual interpolation element is introduced for curve modeling. Combined with intrinsic nodes and fictitious nodes, the proposed approach is flexible and convenient to characterize continuous or discontinuous curve representation by using the dual interpolation curve. Even with some irregular elements in curve modeling, the dual interpolation curve can exhibit higher flexibility and superior performance.
The experimental results illustrate the validity, efficiency, and feasibility of the dual interpolation curve modeling method. In addition, we also demonstrate the potential advantages of the dual interpolation curve for alleviating the heavy task of complex geometry repair. By distributing the fictitious nodes and intrinsic nodes at the non-smooth geometric boundary, the dual interpolation curve is also an efficient and flexible technique for complex geometry repair. The results demonstrate the advantages of fewer nodes and a simple formulation, satisfactory accuracy, and better convergence. More complex geometry repair and isogeometric analysis for arbitrary structures can be observed using three-dimensional dual interpolation surface fitting in future work.

Author Contributions

Conceptualization, B.C. and Q.G.; methodology, B.C.; software, Y.Z.; validation, B.C. and Q.G.; formal analysis, S.B.; investigation, Q.G.; resources, B.C.; data curation, S.B.; writing—original draft preparation, B.C.; writing—review and editing, W.Y.; visualization, C.L.; supervision, Y.Z.; project administration, W.Y.; funding acquisition, C.L. and Q.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by National Natural Science Foundation of China [12202251, 12172201, 51805299]; China Postdoctoral Science Foundation, China [2021M702024, 2022M712393]; Shandong Provincial Natural Science Foundation, China [ZR2022ME122, ZR2022ME120]; Special Funds for the Central Government to Guide Local Science and Technology Development [YDZX2022003]; Ministry of Education Industry-school Cooperative Education Project, China [220606517023742]; China Institute Electronic Labor Industry-school Cooperative Education Project [Ciel2022044]; Shandong Provincial Science Foundation for the Enterprises Innovation Ability Development [2023TSGC0965]; Scientific Research Project of Shandong University of Technology, China [4041/420047, 4003/122237, 9101/2222431].

Data Availability Statement

Data will be made available on request. Please leave us a message or contact us via email: [email protected].

Acknowledgments

The authors are grateful to the reviewers for their careful reading of this manuscript and their useful comments to improve the content of this paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Albdairy, A.M.; Al-Duroobi, A.A.; Tawfiq, M.A. Pre-Processing and Surface Reconstruction of Points Cloud Based on Chord Angle Algorithm Technique. Al-Khwarizmi Eng. J. 2020, 16, 34–42. [Google Scholar] [CrossRef]
  2. Yamaguchi, F. Curves and Surfaces in Computer Aided Geometric Design; Springer Science & Business Media: New York, NY, USA, 2012. [Google Scholar]
  3. Shivegowda, M.D.; Boonyasopon, P.; Rangappa, S.M.; Siengchin, S. A review on computer-aided design and manufacturing processes in design and architecture. Arch. Comput. Methods Eng. 2022, 29, 3973–3980. [Google Scholar] [CrossRef]
  4. Maekawa, T. An overview of offset curves and surfaces. Comput.-Aided Design 1999, 31, 165–173. [Google Scholar] [CrossRef]
  5. Huang, J.; Chen, L.; Izumiya, S.; Pei, D. Geometry of special curves and surfaces in 3-space form. J. Geom. Phys. 2019, 136, 31–38. [Google Scholar] [CrossRef]
  6. Hughes, T.J.R.; Cottrell, J.A.; Bazilevs, Y. Isogeometric analysis: CAD, finite elements, NURBS, exact geometry and mesh refinement. Comput. Methods Appl. Mech. Eng. 2005, 194, 4135–4195. [Google Scholar] [CrossRef] [Green Version]
  7. Kosinka, J.; Cashman, T.J. Watertight conversion of trimmed CAD surfaces to Clough–Tocher splines. Comput. Aided Geom. Des. 2015, 37, 25–41. [Google Scholar] [CrossRef] [Green Version]
  8. Mohan, S.; Kweon, S.H.; Lee, D.M.; Yang, S.H. Parametric NURBS curve interpolators: A review. Int. J. Precis. Eng. Manuf. 2008, 9, 84–92. [Google Scholar]
  9. Mirzaee, F.; Alipour, S. Cubic B-spline approximation for linear stochastic integro-differential equation of fractional order. J. Comput. Appl. Math. 2020, 366, 112440. [Google Scholar] [CrossRef]
  10. Sederberg, T.W.; Zheng, J.; Bakenov, A.; Nasri, A. T-splines and T-NURCCs. ACM Trans. Graph. 2003, 22, 477–484. [Google Scholar] [CrossRef]
  11. Smarzewski, R.; Bujalska, A. Uniform convergence of cubic and quadratic X-spline interpolants. IMA J. Numer. Anal. 1983, 3, 353–372. [Google Scholar] [CrossRef]
  12. Knez, M.; Pelosi, F.; Sampoli, M.L. Spline surfaces with C1 quintic PH isoparametric curves. Comput. Aided Geom. Des. 2020, 79, 101839. [Google Scholar] [CrossRef]
  13. Yang, L.; Zeng, X.M. Bézier curves and surfaces with shape parameters. Int. J. Comput. Math. 2009, 86, 1253–1263. [Google Scholar] [CrossRef]
  14. Sederberg, T.W.; Finnigan, G.T.; Li, X.; Lin, H.; Ipson, H. Watertight trimmed NURBS. ACM Trans. Graph. 2008, 27, 1–8. [Google Scholar] [CrossRef] [Green Version]
  15. Li, X.; Chang, Y. Non-uniform interpolatory subdivision surface. Appl. Math. Comput. 2018, 324, 239–253. [Google Scholar] [CrossRef]
  16. Chen, L.; Lu, C.; Zhao, W.; Chen, H.; Zheng, C. Subdivision surfaces—Boundary element accelerated by fast multipole for the structural acoustic problem. J. Theor. Comput. Acoust. 2020, 28, 2050011. [Google Scholar] [CrossRef]
  17. Zhang, B.; Zheng, H.; Song, W. A non-stationary Catmull–Clark subdivision scheme with shape control. Graph. Models 2019, 106, 101046. [Google Scholar] [CrossRef]
  18. Alam, M.N.; Li, X. Non-uniform Doo-Sabin subdivision surface via eigen polygon. J. Syst. Sci. Complex. 2021, 34, 3–20. [Google Scholar] [CrossRef]
  19. Cheng, F.H.; Fan, F.T.; Lai, S.H.; Huang, C.L.; Wang, J.X.; Yong, J.H. Loop subdivision surface based progressive interpolation. J. Comput. Sci. Technol. 2009, 24, 39–46. [Google Scholar] [CrossRef] [Green Version]
  20. Zhang, J.; Chi, B.; Singh, K.M.; Zhong, Y.; Ju, C. A binary-tree element subdivision method for evaluation of nearly singular domain integrals with continuous or discontinuous kernel. J. Comput. Appl. Math. 2019, 362, 22–40. [Google Scholar] [CrossRef]
  21. Zhang, J.; Chi, B.; Singh, K.M.; Zhong, Y.; Ju, C. A binary-tree element subdivision method for evaluation of singular domain integrals with continuous or discontinuous kernel. Eng. Anal. Bound. Elem. 2020, 116, 14–30. [Google Scholar] [CrossRef]
  22. Chi, B.; Guo, Q.; Zhang, L.; Yuan, W.; Zhang, Y. An adaptive binary-tree element subdivision method for evaluation of volume integrals with continuous or discontinuous kernels. Eng. Anal. Bound. Elem. 2022, 134, 298–314. [Google Scholar] [CrossRef]
  23. Chi, B.; Jia, Z.; Li, C.; Guo, Q.; Yuan, W.; Ju, C. An adaptive element subdivision method based on the affine transformations and partitioning techniques for evaluating the weakly singular integrals. J. Comput. Appl. Math. 2024, 436, 115320. [Google Scholar] [CrossRef]
  24. Zhang, J.; Chi, B.; Lin, W.; Ju, C. A dual interpolation boundary face method for three-dimensional potential problems. Int. J. Heat Mass Transf. 2019, 140, 862–876. [Google Scholar] [CrossRef]
  25. Sladek, V.; Sladek, J. Local integral equations implemented by MLS-approximation and analytical integrations. Eng. Anal. Bound. Elem. 2010, 34, 904–913. [Google Scholar] [CrossRef]
  26. Li, X. Meshless Galerkin algorithms for boundary integral equations with moving least square approximations. Appl. Numer. Math. 2011, 61, 1237–1256. [Google Scholar] [CrossRef]
  27. Qu, W.Z.; Fan, C.M.; Li, X.L. Analysis of an augmented moving least squares approximation and the associated localized method of fundamental solutions. Comput. Math. Appl. 2020, 80, 13–30. [Google Scholar] [CrossRef]
  28. Park, H.; Lee, J.H. B-spline curve fitting based on adaptive curve refinement using dominant points. Comput. Aided Des. 2007, 39, 439–451. [Google Scholar] [CrossRef]
  29. Wang, Q.; Kim, P.; Qu, W. A Hybrid Localized Meshless Method for the Solution of Transient Groundwater Flow in Two Dimensions. Mathematics 2022, 10, 515. [Google Scholar] [CrossRef]
  30. Glowinski, R.; He, J.; Rappaz, J.; Wagner, J. A multi-domain method for solving numerically multi-scale elliptic problems. Comptes Rendus Math. 2004, 338, 741–746. [Google Scholar] [CrossRef]
Figure 1. Geometry repair based on NURBS surface fitting: (a) the axle housing model with undesired features, (b) Delaunay triangulation, (c) reparameterization for surface fitting, (d) undesired NURBS surface obtained by geometry repair.
Figure 1. Geometry repair based on NURBS surface fitting: (a) the axle housing model with undesired features, (b) Delaunay triangulation, (c) reparameterization for surface fitting, (d) undesired NURBS surface obtained by geometry repair.
Mathematics 11 03473 g001
Figure 2. Boundary discretization using different types of elements: (a) continuous interpolation elements, (b) discontinuous interpolation elements, (c) dual interpolation elements.
Figure 2. Boundary discretization using different types of elements: (a) continuous interpolation elements, (b) discontinuous interpolation elements, (c) dual interpolation elements.
Mathematics 11 03473 g002
Figure 3. Dual interpolation elements for curve modeling: (a) DL1, (b) DL2, (c) DL3.
Figure 3. Dual interpolation elements for curve modeling: (a) DL1, (b) DL2, (c) DL3.
Mathematics 11 03473 g003
Figure 4. The shape functions of the dual interpolation elements: (a) DL1, (b) DL2, (c) DL3.
Figure 4. The shape functions of the dual interpolation elements: (a) DL1, (b) DL2, (c) DL3.
Mathematics 11 03473 g004
Figure 5. Flow diagram of dual interpolation curve modeling techniques.
Figure 5. Flow diagram of dual interpolation curve modeling techniques.
Mathematics 11 03473 g005
Figure 6. Preprocessing of points for curve modeling: (a) the initial sample points, (b) the selection of dominant points, (c) the ultimate curve.
Figure 6. Preprocessing of points for curve modeling: (a) the initial sample points, (b) the selection of dominant points, (c) the ultimate curve.
Mathematics 11 03473 g006
Figure 7. Schematic of dual interpolation curve for continuous curve modeling: (a) Type 1, (b) Type 2.
Figure 7. Schematic of dual interpolation curve for continuous curve modeling: (a) Type 1, (b) Type 2.
Mathematics 11 03473 g007
Figure 8. Schematic of the dual interpolation curve for discontinuous curve modeling: (a) Type 1, (b) Type 2.
Figure 8. Schematic of the dual interpolation curve for discontinuous curve modeling: (a) Type 1, (b) Type 2.
Mathematics 11 03473 g008
Figure 9. Comparison of accuracy between the dual interpolation curve and the MLS (H1-norm).
Figure 9. Comparison of accuracy between the dual interpolation curve and the MLS (H1-norm).
Mathematics 11 03473 g009
Figure 10. Comparison of accuracy between the dual interpolation curve and the MLS (L2-norm).
Figure 10. Comparison of accuracy between the dual interpolation curve and the MLS (L2-norm).
Mathematics 11 03473 g010
Figure 11. Comparison of accuracy between the dual interpolation curve and other methods.
Figure 11. Comparison of accuracy between the dual interpolation curve and other methods.
Mathematics 11 03473 g011
Figure 12. Comparison of accuracy between the dual interpolation curve and the MLS (H1-norm).
Figure 12. Comparison of accuracy between the dual interpolation curve and the MLS (H1-norm).
Mathematics 11 03473 g012
Figure 13. Comparison of accuracy between the dual interpolation curve and the MLS (L2-norm).
Figure 13. Comparison of accuracy between the dual interpolation curve and the MLS (L2-norm).
Mathematics 11 03473 g013
Figure 14. Comparison of accuracy between the dual interpolation curve and other methods.
Figure 14. Comparison of accuracy between the dual interpolation curve and other methods.
Mathematics 11 03473 g014
Figure 15. Comparison of efficiency between the dual interpolation curve and the MLS.
Figure 15. Comparison of efficiency between the dual interpolation curve and the MLS.
Mathematics 11 03473 g015
Figure 16. Comparison of accuracy between the dual interpolation curve and other methods (H1-norm).
Figure 16. Comparison of accuracy between the dual interpolation curve and other methods (H1-norm).
Mathematics 11 03473 g016
Figure 17. Comparison of accuracy between the dual interpolation curve and other methods (L2-norm).
Figure 17. Comparison of accuracy between the dual interpolation curve and other methods (L2-norm).
Mathematics 11 03473 g017
Figure 18. Comparison of accuracy between the dual interpolation curve and other methods.
Figure 18. Comparison of accuracy between the dual interpolation curve and other methods.
Mathematics 11 03473 g018
Figure 19. Geometry of the gear model: (a) geometric model of the gear, (b) geometric boundary of the gear, (c) geometry noises in the gear model, (d) enlarged view of the undesired features.
Figure 19. Geometry of the gear model: (a) geometric model of the gear, (b) geometric boundary of the gear, (c) geometry noises in the gear model, (d) enlarged view of the undesired features.
Mathematics 11 03473 g019aMathematics 11 03473 g019b
Figure 20. The curve fitting results obtained by NURBS: (a) distribution of the dominant points, (b) the dominant points for NURBS fitting, (c) the ultimate curve with NURBS fitting, (d) enlarged view of the NURBS curve.
Figure 20. The curve fitting results obtained by NURBS: (a) distribution of the dominant points, (b) the dominant points for NURBS fitting, (c) the ultimate curve with NURBS fitting, (d) enlarged view of the NURBS curve.
Mathematics 11 03473 g020
Figure 21. The curve modeling results obtained with the dual interpolation curve: (a) distribution of the dominant points, (b) dominant points for the dual interpolation curve, (c) the ultimate dual interpolation curve, (d) enlarged view of the dual interpolation curve.
Figure 21. The curve modeling results obtained with the dual interpolation curve: (a) distribution of the dominant points, (b) dominant points for the dual interpolation curve, (c) the ultimate dual interpolation curve, (d) enlarged view of the dual interpolation curve.
Mathematics 11 03473 g021
Figure 22. Distribution of the sample points along the boundary of the gear model: (a) the ultimate dual interpolation curve, (b) distribution of the sample points, (c) non-smooth junctions in the gear model, (d) enlarged view of the dual interpolation curve.
Figure 22. Distribution of the sample points along the boundary of the gear model: (a) the ultimate dual interpolation curve, (b) distribution of the sample points, (c) non-smooth junctions in the gear model, (d) enlarged view of the dual interpolation curve.
Mathematics 11 03473 g022
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Chi, B.; Bai, S.; Guo, Q.; Zhang, Y.; Yuan, W.; Li, C. A New Definition of the Dual Interpolation Curve for CAD Modeling and Geometry Defeaturing. Mathematics 2023, 11, 3473. https://doi.org/10.3390/math11163473

AMA Style

Chi B, Bai S, Guo Q, Zhang Y, Yuan W, Li C. A New Definition of the Dual Interpolation Curve for CAD Modeling and Geometry Defeaturing. Mathematics. 2023; 11(16):3473. https://doi.org/10.3390/math11163473

Chicago/Turabian Style

Chi, Baotao, Shengmin Bai, Qianjian Guo, Yaoming Zhang, Wei Yuan, and Can Li. 2023. "A New Definition of the Dual Interpolation Curve for CAD Modeling and Geometry Defeaturing" Mathematics 11, no. 16: 3473. https://doi.org/10.3390/math11163473

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