Imagine I have an outer shape and an inner shape (that may overlap like the following picture)

Is there any algorithm or mathematical property I can use to find a third set of points which will be in the middle of the two?
Imagine I have an outer shape and an inner shape (that may overlap like the following picture)

Is there any algorithm or mathematical property I can use to find a third set of points which will be in the middle of the two?