Update getPoints to take list of point IDs.