UtilityTraceFunction constructor

UtilityTraceFunction(
  1. UtilityTraceFunctionType functionType, {
  2. required UtilityNetworkAttribute networkAttribute,
  3. UtilityTraceCondition? condition,
})

Creates a function object to compute a value from a network attribute.

Parameters:

  • functionType — The calculation to perform.
  • networkAttribute — The UtilityNetworkAttribute to use with the calculation.
  • condition — An UtilityTraceCondition to use to restrict the functional calculation to features that satisfy the condition.