A Rational Quadratic Trigonometric Spline (RQTS) as a Superior Surrogate to Rational Cubic Spline (RCS) with the Purpose of Designing
Abstract
:1. Introduction
- The method has good trigonometric splines properties.
- It possesses the best geometric properties of all splines.
- The scheme fulfills the criteria for geometric smoothness.
- The proposed technique incorporates key aspects of form design.
- Some conics can be represented using the proposed curve approach.
- It contains two shape parameters that control shape effects such as interval tension and global tension.
- To establish that the suggested scheme is the better alternative, a quick comparative study of the proposed scheme and a rational cubic spline (RCS) is considered.
2. Proposed Spline Method
3. Error Analysis of RQTS
4. Geometric Properties
5. Shape Properties
5.1. Interval Tension Property
5.2. Global Tension Property
5.3. Biased Interval Tension Property
5.4. Biased Global Tension Property
6. Demonstration
7. Comparative Study of a RCS and RQTS
7.1. Visual Difference of Two Splines
7.2. Time Elapsed by Two Splines
7.3. Error Analysis for RCS and RQTS
8. Conclusions
Author Contributions
Funding
Acknowledgments
Conflicts of Interest
References
- Sarfraz, M. Weighted Nu splines with local support basis functions. Comput. Graph. 2004, 28, 539–549. [Google Scholar] [CrossRef]
- Sarfraz, M. Interactive Curve Modeling; Springer: Berlin/Heidelberg, Germany, 2008. [Google Scholar]
- Hussain, M.Z.; Hussain, M.; Samreen, S. Visualization of shaped data by rational quartic spline interpolation. Int. J. Appl. Math. Stat. 2008, 13, 34–46. [Google Scholar]
- Sarfraz, M. Designing objects with a spline. Int. J. Comput. Math. 2010, 87, 797–817. [Google Scholar] [CrossRef]
- Han, X. Shape-preserving piecewise rational interpolant with quartic numerator and quadratic denominator. Appl. Math. Comput. 2015, 251, 258–274. [Google Scholar] [CrossRef]
- Lamnii, A.; Oumellal, F. A method for local interpolation with tension trigonometric spline curves and surfaces. Appl. Math. Sci. 2015, 9, 30193035. [Google Scholar] [CrossRef] [Green Version]
- Sarfraz, M.; Samreen, S.; Hussain, M.Z. Modeling of 2D objects with weighted-Quadratic Trigonometric Spline. In Proceedings of the 2016 13th International Conference on Computer Graphics, Imaging and Visualization (CGiV), Beni Mellal, Morocco, 29 March–1 April 2016; pp. 29–34. [Google Scholar]
- Sarfraz, M.; Samreen, S.; Hussain, M.Z. A Quadratic Trigonometric Nu Spline with Shape Control. Int. J. Image Graph. 2017, 17, 1750015. [Google Scholar] [CrossRef]
- Samreen, S.; Sarfraz, M.; Jabeen, N.; Hussain, M.Z. Computer aided design using a rational quadratic trigonometric spline with interval shape control. In Proceedings of the 2017 International Conference on Computational Science and Computational Intelligence (CSCI), Las Vegas, NV, USA, 14–16 December 2017; pp. 246–251. [Google Scholar]
- Sarfraz, M.; Jabeen, N.; Samreen, S.; Hussain, M.Z. A Rational Quadratic Trigonometric Spline with Interval Shape Control. In Proceedings of the 2017 14th International Conference on Computer Graphics, Imaging and Visualization, Marrakesh, Morocco, 23–25 May 2017; pp. 8–13. [Google Scholar]
- Sarfraz, M.; Hussain, F.; Hussain, S.; Hussain, M.Z. GC1 Cubic Trigonometric Spline Function with its Geometric Attributes. In Proceedings of the 2017 21st International Conference Information Visualisation (IV), London, UK, 11–14 July 2017; pp. 405–409. [Google Scholar]
- Sarfraz, M.; Samreen, S.; Hussain, M.Z. A quadratic trigonometric weighted spline with local support basis functions. Alex. Eng. J. 2018, 57, 1041–1049. [Google Scholar] [CrossRef]
- Samreen, S.; Sarfraz, M.; Hussain, M.Z. Modeling Curves by a Trigonometric B-spline with point Shape control. In Proceedings of the 6th International Conference on Control and Optimization with Indutrial Applications (COIA), Baku, Azerbaijan, 24–26 August 2018; p. 35352. [Google Scholar]
- Samreen, S.; Sarfraz, M.; Hussain, M.Z. Designing by a Quadratic Trigonometric Spline with Point and Interval Shape Control. In Proceedings of the International Conference on Scientific Computing (CSC), Las Vegas, NV, USA, 12–15 July 2018; pp. 195–200. [Google Scholar]
- Samreen, S.; Sarfraz, M.; Hussain, M.Z. A quadratic trigonometric spline for curve modeling. PLoS ONE 2019, 14, e0208015. [Google Scholar] [CrossRef] [PubMed]
- Ngowi, E.E.; Sarfraz, M.; Afzal, A.; Khan, N.H.; Khattak, S.; Zhang, X.; Wu, D.D. Roles of hydrogen sulfide donors in common kidney diseases. Front. Pharmacol. 2020, 11, 1706. [Google Scholar] [CrossRef] [PubMed]
- BiBi, S.; Abbas, M.; Miura, K.T.; Misro, M.Y. Geometric modeling of novel generalized hybrid trigonometric Bézier-like curve with shape parameters and its applications. Mathematics 2020, 8, 967. [Google Scholar] [CrossRef]
- Usman, M.; Abbas, M.; Miura, K.T. Some engineering applications of new trigonometric cubic Bézier-like curves to free-form complex curve modeling. J. Adv. Mech. Des. Syst. Manuf. 2020, 14, JAMDSM0048. [Google Scholar] [CrossRef] [Green Version]
- Khattak, S.; Zhang, Q.Q.; Sarfraz, M.; Muhammad, P.; Ngowi, E.E.; Khan, N.H.; Wu, D.D. The Role of Hydrogen Sulfide in Respiratory Diseases. Biomolecules 2021, 11, 682. [Google Scholar] [CrossRef] [PubMed]
- Musleh, S.; Sarfraz, M.; Raafat, H. Shadow detection of the satellite images of earth using ratio image pixels. Earth Sci. Inform. 2021, 14, 377–392. [Google Scholar] [CrossRef]
- Ngowi, E.E.; Attia Afzal, M.S.; Khattak, S.; Zaman, S.U.; Khan, N.H.; Li, T.; Wu, D.D. Role of hydrogen sulfide donors in cancer development and progression. Int. J. Biol. Sci. 2021, 17, 73. [Google Scholar] [CrossRef] [PubMed]
- Farin, G.; Hoschek, J.; Kim, M.S. (Eds.) Handbook of Computer Aided Geometric Design; Elsevier: Amsterdam, The Netherlands, 2002. [Google Scholar]
- MATLAB. MathWorks, USA. 2018. Available online: https://www.mathworks.com/ (accessed on 8 April 2022).
Data Used | Time Passed by RCS in Seconds | Time Passed by RQTS in Seconds | Difference between the Times Passed in Seconds |
---|---|---|---|
Glass | 1.674103 | 1.349462 | 0.271486 |
Guitar | 1.860445 | 1.588977 | 0.291976 |
Butterfly | 0.796280 | 0.504304 | 0.36916 |
Ellipses | 0.852281 | 0.483121 | 0.245246 |
Egg | 0.480849 | 0.235603 | 0.513009 |
Fish | 1.531127 | 1.018118 | 0.271486 |
# | Parameter t (Chosen) | Utilized Function | RCS Computed Error | RQTS Computed Error | Error Difference Computed by Both Splines |
---|---|---|---|---|---|
1 | 3.90 | ||||
2 | −1.00 | ||||
3 | 2.87 | ||||
4 | 2.04 | ||||
5 | 0.00 | ||||
6 | −2.84 | ||||
7 | −3.64 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Samreen, S.; Sarfraz, M.; Jabeen, N.; Althobaiti, S.; Mohamed, A. A Rational Quadratic Trigonometric Spline (RQTS) as a Superior Surrogate to Rational Cubic Spline (RCS) with the Purpose of Designing. Appl. Sci. 2022, 12, 3992. https://doi.org/10.3390/app12083992
Samreen S, Sarfraz M, Jabeen N, Althobaiti S, Mohamed A. A Rational Quadratic Trigonometric Spline (RQTS) as a Superior Surrogate to Rational Cubic Spline (RCS) with the Purpose of Designing. Applied Sciences. 2022; 12(8):3992. https://doi.org/10.3390/app12083992
Chicago/Turabian StyleSamreen, Shamaila, Muhammad Sarfraz, Nabila Jabeen, Saad Althobaiti, and Abdullah Mohamed. 2022. "A Rational Quadratic Trigonometric Spline (RQTS) as a Superior Surrogate to Rational Cubic Spline (RCS) with the Purpose of Designing" Applied Sciences 12, no. 8: 3992. https://doi.org/10.3390/app12083992
APA StyleSamreen, S., Sarfraz, M., Jabeen, N., Althobaiti, S., & Mohamed, A. (2022). A Rational Quadratic Trigonometric Spline (RQTS) as a Superior Surrogate to Rational Cubic Spline (RCS) with the Purpose of Designing. Applied Sciences, 12(8), 3992. https://doi.org/10.3390/app12083992