Implement point operations using functions