Text this: Control of switching systems by invariance analysis :