In this paper, we investigate a particular class of switching functions between two linear systems in the plan. The considered functions are defined in terms of geometric constructions. More precisely, we introduce two criteria for proving uniform stability of such functions, both criteria are based on the construction of a Lyapunov function. The first criterion is constructed in terms of an algebraic reformulation of the problem and linear matrix inequalities. The second one is purely geometric. Finally, we illustrate these methods with a numerical example.