@jfbrigaud
As @GavinCrump wrote you can use convex hull also you can use Alpha shape as shown in the below post