on the way to a generic geometry interface