getPoint and getTangent modified