A subset formula_6 of the points inside formula_1 is said to be relatively convex, geodesically convex, or formula_1-convex if, for every two points of formula_6, the geodesic between them in formula_1 stays within formula_6.