move INVALID_DISTANCE & INVALID_COORD to Geometry