Convex hull for a wire

Hi gentlemen, I am searching a way to compute the convex hull for a 2D wire.
Is there a tool in OCC to do that or help for that ?
Best regards
Jerome.