{"title":"Bilinear-inverse-mapper: Analytical solution and algorithm for inverse mapping of bilinear interpolation of quadrilaterals","authors":"Indrajeet Sahu","doi":"10.1016/j.advengsoft.2025.103975","DOIUrl":null,"url":null,"abstract":"<div><div>The challenge of finding parametric coordinates of bilinear interpolation of a point with respect to a quadrilateral in 2D or 3D frequently arises as a subproblem in various applications, e.g. finite element methods, computational geometry, and computer graphics. The accuracy and efficiency of inverse mapping in such cases are critical, as the accumulation of errors can significantly affect the quality of the overall solution to the broader problem. This mapping is nonlinear and typically solved with Newton’s iterative method, which is not only prone to convergence issues but also incurs high computational cost. This paper presents an analytical solution to this inverse mapping, along with a comprehensive geometric analysis covering all possible quadrilateral configurations. It describes the invertibility of all points and extends the discussion to 3D and concave quadrilaterals. The proposed algorithm is robust, free from failure due to convergence issues or oscillations in iterative methods, and achieves approximately <span><math><mrow><mn>2</mn><mo>.</mo><mn>4</mn><mo>×</mo></mrow></math></span> higher computational speed compared to Newton’s method for quadrilaterals with non-parallel opposite edges. This enables an efficient calculation of shape functions or interpolation functions at all invertible spatial points. The high-accuracy, high-speed computational solution will be particularly advantageous in applications involving high spatial or temporal discretisation (i.e. fine mesh and small timesteps) where iterative methods will be computationally expensive. The analytical solution based algorithm is available as an open-source library at <span><span>https://github.com/sahu-indrajeet/Bilinear-Inverse-Mapper</span><svg><path></path></svg></span>.</div></div>","PeriodicalId":50866,"journal":{"name":"Advances in Engineering Software","volume":"208 ","pages":"Article 103975"},"PeriodicalIF":4.0000,"publicationDate":"2025-06-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Advances in Engineering Software","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0965997825001139","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
The challenge of finding parametric coordinates of bilinear interpolation of a point with respect to a quadrilateral in 2D or 3D frequently arises as a subproblem in various applications, e.g. finite element methods, computational geometry, and computer graphics. The accuracy and efficiency of inverse mapping in such cases are critical, as the accumulation of errors can significantly affect the quality of the overall solution to the broader problem. This mapping is nonlinear and typically solved with Newton’s iterative method, which is not only prone to convergence issues but also incurs high computational cost. This paper presents an analytical solution to this inverse mapping, along with a comprehensive geometric analysis covering all possible quadrilateral configurations. It describes the invertibility of all points and extends the discussion to 3D and concave quadrilaterals. The proposed algorithm is robust, free from failure due to convergence issues or oscillations in iterative methods, and achieves approximately higher computational speed compared to Newton’s method for quadrilaterals with non-parallel opposite edges. This enables an efficient calculation of shape functions or interpolation functions at all invertible spatial points. The high-accuracy, high-speed computational solution will be particularly advantageous in applications involving high spatial or temporal discretisation (i.e. fine mesh and small timesteps) where iterative methods will be computationally expensive. The analytical solution based algorithm is available as an open-source library at https://github.com/sahu-indrajeet/Bilinear-Inverse-Mapper.
期刊介绍:
The objective of this journal is to communicate recent and projected advances in computer-based engineering techniques. The fields covered include mechanical, aerospace, civil and environmental engineering, with an emphasis on research and development leading to practical problem-solving.
The scope of the journal includes:
• Innovative computational strategies and numerical algorithms for large-scale engineering problems
• Analysis and simulation techniques and systems
• Model and mesh generation
• Control of the accuracy, stability and efficiency of computational process
• Exploitation of new computing environments (eg distributed hetergeneous and collaborative computing)
• Advanced visualization techniques, virtual environments and prototyping
• Applications of AI, knowledge-based systems, computational intelligence, including fuzzy logic, neural networks and evolutionary computations
• Application of object-oriented technology to engineering problems
• Intelligent human computer interfaces
• Design automation, multidisciplinary design and optimization
• CAD, CAE and integrated process and product development systems
• Quality and reliability.