[is_simple] implementation of is_simple for pointlike and linear geometries