Hybrid representation of the shape of ship hulls