Adds two new functions to the CGPoint extensions.