A generalized collision algorithm for geometric graphics
Pengfei Zheng,Jingjing Lou,Chengjie Lian,Dajun Lin,Qi An
DOI: https://doi.org/10.1007/s00500-022-06883-6
IF: 3.732
2022-03-03
Soft Computing
Abstract:The two-dimensional graphical nesting problem is widespread in industrial production and is an NP-complete problem. The core technology of various nesting methods is the graphical collision algorithm. In this paper, a general algorithm for geometric graphics is proposed. According to the geometrical characteristics of the packed parts, the idea of divide and conquer is adopted, and the corresponding collision strategies are designed, respectively. Two-point bidirectional collision calculation, aligned bidirectional collision and slipping calculation are proposed to determine the collision relationship between graphics. The interpolation strategy is used to reduce the computation of NFP (No-Fit-Polygon). The precise interpolation between graphics is achieved by first marking and positioning, and then sliding interpolation in both directions, which improves the interpolation efficiency. Finally, the results of the comparison test by several cases of different types show that the algorithm is effective, stable, reliable and adaptable.
computer science, artificial intelligence, interdisciplinary applications