getFromCumulativeCost method

double getFromCumulativeCost({
  1. required String attributeName,
})

Gets the cumulative cost for the beginning of polyline.

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

Parameters:

  • attributeName — The name of attribute.

Return Value: A value of cumulative cost.

Implementation

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