Function convertPointToTuple