getToCumulativeCost method

double getToCumulativeCost(
  1. {required String attributeName}
)

Gets the cumulative cost for the end of polyline.

Returns the cumulative cost value of the path from the facility to the end of this polyline.

Parameters:

  • attributeName — The name of attribute.

Return Value: A value of cumulative cost.

Implementation

double getToCumulativeCost({required String attributeName}) {
  final coreAttributeName = _CString(attributeName);
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ServiceAreaPolyline_getToCumulativeCost(
        _handle, coreAttributeName.bytes, errorHandler);
  });
}