Reconstruction of Piecewise-Explicit Surfaces from Three-Dimensional Polylines and Heightmap Fragments