Defining apex functions in the entire plane