I would like to calculate Non-Fit Polygon (NFP) for two convex polygons.
I have read the article below and found an algorithm (Algorithm 1, pp. 18, See also the picture). https://www.diva-portal.org/smash/get/diva2:699750/FULLTEXT01.pdf
Intuitively, this algorithm finds an NFP by moving one polygon (orbit polygon) around the other (fixed polygon), keeping the orbit polygon touching the fixed polygon but not intersecting (assuming both polygons don't rotate).
More concretely, It sorts the edges of the polygons by their angle, gets a polygon by connecting them as an NFP, and places the NFP based on a "reference point" of the orbit polygon. However, I could not understand how to determine the reference point. It seems that we could not set an arbitrary reference point because the polygons intersect if we choose the wrong reference point.
Any idea to choose a correct reference point?