Geometry simplification according to semantic constraints