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