Sets a new points array to redefine the polyline.
Returns eOk if the points array was successfully set or an appropriate error code in the other case.