Convex hull is possible, there are so many ways to do that, it may not be fully accurate. Concave hull is some extra process on a convex hull, like splitting the edge with the nearest vertex that stays in between them. I think there is no simple and widely accepted solution for that.