Additional functions for CGPoint - similar design as GLVector2 from the GLKit framework.