These are Algorithm 5 and 6 in Chapter 4. We use these methods to find the optimal configuration for two non-centrally symmetric objects: There are four files:
NNper2 is a function to find the smallest convex hull of 2 objects.
N2object is a function to find the maximum of NNper2 (main file).
cvhN5 is a function to find area of convex hull.
cvhN5_2 is a function to plot the optimal configuration of area of convex hull.