Coordinate Geometry Utilities