Hybrid representation of the shape of ship hull