divideByOtherField method

DiscreteFieldFunction divideByOtherField(
  1. DiscreteFieldFunction otherField
)

Composes a function that divides, point-wise, this function's field result by another across their spatial intersection.

The function result has no data where either of the given fields has no data, or where the divisor is zero.

Result values will be rounded towards zero.

The function result extent is the intersection of the extents of the given fields.

The spatial reference of both fields must be equivalent.

Parameters:

  • otherField — Another discrete field function.

Return Value: A function that divides this function's field result by another.