wrap.applySubset

wrap.applySubset(geom, geomSubset, vertexMapping)

Replace some vertex coordinates from geom by vertex coordinates from geomSubset according to vertexMapping

Parameters:

geom : wrap.Geom

Input geometry.

geomSubset : wrap.Geom

geometry which contains polygons from geom according to polygonIndices.

vertexMapping : list of int

mapping from new vertex positions (from geomSubset) to old vertex position (geom).