Map geometric object to the surface of a mesh


The tool MapGeometryToMeshSurface adjusts the z-coordinates of geometric points from a given geometry file my_geometry.gml such that they are located on the surface of a given mesh my_mesh.vtu and returns an updated geometry file my_mapped_geometry.gml.


MapGeometryToMeshSurface -m [my_mesh.vtu] -i [my_geometry.gml] -o [my_mapped_geometry.gml]

Simple application example

Often, the mesh resolution and the resolution of the geometric objects like polylines are different.

The result of the application of the algorithm is shown.

Usage for the example:

MapGeometryToMeshSurface -m SubsurfaceMesh.vtu -i TestPolyline.gml -o TestMappedPolyline.gml


Karsten Rink, Lars Bilke, Olaf Kolditz: Visualisation Strategies for Environmental Modelling Data. Environmental Earth Sciences, 2014. DOI:10.1007/s12665-013-2970-2 download

This article was written by Thomas Fischer. If you are missing something or you find an error please let us know.
Generated with Hugo 0.101.0 in CI job 303998 | Last revision: February 28, 2023
Commit: [pre-commit] Added black check on markdown notebooks. efed3632  | Edit this page on