Update getInputPoint method.