DiscreteFieldSupplier class final

A DiscreteFieldFunction that returns a user-supplied DiscreteField when evaluated.

Allows the supplied field to be changed and the analysis reevaluated. Analysis reevaluation may produce an updated result after changing the supplied field.

Changing the field supplied to an analysis and reevaluating is more performant than creating and evaluating a new analysis with the new field.

Inheritance
Available extensions

Constructors

DiscreteFieldSupplier(DiscreteField? field)
Creates a DiscreteFieldSupplier.
factory

Properties

field ↔ DiscreteField?
The DiscreteField returned when this function is evaluated.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

abs() → DiscreteFieldFunction
Composes a function that returns the absolute value of this function's field result across its extent.
inherited
addFunction(Int32Function value) → DiscreteFieldFunction
Composes a function that adds, point-wise, a value to this function's field result across its extent.
inherited
addOtherField(DiscreteFieldFunction otherField) → DiscreteFieldFunction
Composes a function that adds, point-wise, this function's field result and another across their spatial intersection.
inherited
addValue(int value) → DiscreteFieldFunction
Composes a function that adds, point-wise, a value to this function's field result across its extent.
inherited
clampFunctions({required Int32Function min, required Int32Function max}) → DiscreteFieldFunction
Composes a function that clamps, point-wise, this function's field result between two values.
inherited
clampOtherFields({required DiscreteFieldFunction minField, required DiscreteFieldFunction maxField}) → DiscreteFieldFunction
Composes a function that clamps, point-wise, this function's field result between two values drawn from two others.
inherited
clampValues({required int min, required int max}) → DiscreteFieldFunction
Composes a function that clamps, point-wise, this function's field result between two values.
inherited
clip(Envelope? extent) → DiscreteFieldClipFunction
Composes a function with a result clipped to a specified extent.
inherited
divideByFunction(Int32Function value) → DiscreteFieldFunction
Composes a function that divides, point-wise, this function's field result by a value across its extent.
inherited
divideByOtherField(DiscreteFieldFunction otherField) → DiscreteFieldFunction
Composes a function that divides, point-wise, this function's field result by another across their spatial intersection.
inherited
divideByValue(int value) → DiscreteFieldFunction
Composes a function that divides, point-wise, this function's field result by a value across its extent.
inherited
evaluate() → Future<DiscreteField>
Evaluates the function.
inherited
hasData() → BooleanFieldFunction
Composes a function that identifies, point-wise, where this function's field result has data across its extent.
inherited
isEqualToFunction(Int32Function value) → BooleanFieldFunction
Composes a function that indicates if, point-wise, this function's field result is equal to a given value.
inherited
isEqualToOtherField(DiscreteFieldFunction otherField) → BooleanFieldFunction
Composes a function that indicates if, point-wise, this function's field result is equal to another.
inherited
isEqualToValue(int value) → BooleanFieldFunction
Composes a function that indicates if, point-wise, this function's field result is equal to a given value.
inherited
isGreaterThanFunction(Int32Function value) → BooleanFieldFunction
Composes a function that indicates if, point-wise, this function's field result is greater than a given value.
inherited
isGreaterThanOrEqualToFunction(Int32Function value) → BooleanFieldFunction
Composes a function that indicates if, point-wise, this function's field result is greater than or equal to a given value.
inherited
isGreaterThanOrEqualToOtherField(DiscreteFieldFunction otherField) → BooleanFieldFunction
Composes a function that indicates if, point-wise, this function's field result is greater than or equal to another.
inherited
isGreaterThanOrEqualToValue(int value) → BooleanFieldFunction
Composes a function that indicates if, point-wise, this function's field result is greater than or equal to a given value.
inherited
isGreaterThanOtherField(DiscreteFieldFunction otherField) → BooleanFieldFunction
Composes a function that indicates if, point-wise, this function's field result is greater than another.
inherited
isGreaterThanValue(int value) → BooleanFieldFunction
Composes a function that indicates if, point-wise, this function's field result is greater than a given value.
inherited
isLessThanFunction(Int32Function value) → BooleanFieldFunction
Composes a function that indicates if, point-wise, this function's field result is less than a given value.
inherited
isLessThanOrEqualToFunction(Int32Function value) → BooleanFieldFunction
Composes a function that indicates if, point-wise, this function's field result is less than or equal to a given value.
inherited
isLessThanOrEqualToOtherField(DiscreteFieldFunction otherField) → BooleanFieldFunction
Composes a function that indicates if, point-wise, this function's field result is less than or equal to another.
inherited
isLessThanOrEqualToValue(int value) → BooleanFieldFunction
Composes a function that indicates if, point-wise, this function's field result is less than or equal to a given value.
inherited
isLessThanOtherField(DiscreteFieldFunction otherField) → BooleanFieldFunction
Composes a function that indicates if, point-wise, this function's field result is less than another.
inherited
isLessThanValue(int value) → BooleanFieldFunction
Composes a function that indicates if, point-wise, this function's field result is less than a given value.
inherited
isNotEqualToFunction(Int32Function value) → BooleanFieldFunction
Composes a function that indicates if, point-wise, this function's field result is not equal to a given value.
inherited
isNotEqualToOtherField(DiscreteFieldFunction otherField) → BooleanFieldFunction
Composes a function that indicates if, point-wise, this function's field result is not equal to another.
inherited
isNotEqualToValue(int value) → BooleanFieldFunction
Composes a function that indicates if, point-wise, this function's field result is not equal to a given value.
inherited
mask(BooleanFieldFunction selection) → DiscreteFieldFunction
Composes a function that applies a mask to this function's field result.
inherited
multiplyByFunction(Int32Function value) → DiscreteFieldFunction
Composes a function that multiplies, point-wise, this function's field result by a value across its extent.
inherited
multiplyByOtherField(DiscreteFieldFunction otherField) → DiscreteFieldFunction
Composes a function that multiplies, point-wise, this function's field result and another across their spatial intersection.
inherited
multiplyByValue(int value) → DiscreteFieldFunction
Composes a function that multiplies, point-wise, this function's field result by a value across its extent.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remainderFunction(Int32Function divisor) → DiscreteFieldFunction
Composes a function that applies a remainder operation, point-wise, to this function's field result.
inherited
remainderOtherField(DiscreteFieldFunction otherField) → DiscreteFieldFunction
Composes a function that applies a remainder operation, point-wise, to this function's field result using values from another field as the divisors across their spatial intersection.
inherited
remainderValue(int divisor) → DiscreteFieldFunction
Composes a function that applies a remainder operation, point-wise, to this function's field result.
inherited
replaceWithFunctionIf({required BooleanFieldFunction selection, required Int32Function value}) → DiscreteFieldFunction
Composes a function that preserves values from this function's field result or replaces them with another value.
inherited
replaceWithOtherFieldIf({required BooleanFieldFunction selection, required DiscreteFieldFunction otherField}) → DiscreteFieldFunction
Composes a function that preserves values from this function's field result or replaces them with values from another.
inherited
replaceWithValueIf({required BooleanFieldFunction selection, required int value}) → DiscreteFieldFunction
Composes a function that preserves values from this function's field result or replaces them with a constant value.
inherited
sample(ArcGISPoint position) → DiscreteFieldSampleFunction
Composes a function that samples the result of this field function at a position.
inherited
subtractFunction(Int32Function value) → DiscreteFieldFunction
Composes a function that subtracts, point-wise, a value from this function's field result across its extent.
inherited
subtractOtherField(DiscreteFieldFunction otherField) → DiscreteFieldFunction
Composes a function that subtracts, point-wise, another field from this function's field result across their spatial intersection.
inherited
subtractValue(int value) → DiscreteFieldFunction
Composes a function that subtracts, point-wise, a value from this function's field result across its extent.
inherited
toContinuousFieldFunction() → ContinuousFieldFunction
Composes a function that casts, point-wise, integer values from this function's field result to floating-point values across its extent.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator *(Object other) → DiscreteFieldFunction

Available on DiscreteFieldFunction, provided by the DiscreteFieldOperators extension

Composes a function that multiplies, point-wise, this function's result by other, using DiscreteFieldFunction.multiplyByValue or DiscreteFieldFunction.multiplyByOtherField.
operator +(Object other) → DiscreteFieldFunction

Available on DiscreteFieldFunction, provided by the DiscreteFieldOperators extension

Composes a function that adds, point-wise, other to this function's result, using DiscreteFieldFunction.addValue or DiscreteFieldFunction.addOtherField.
operator -(Object other) → DiscreteFieldFunction

Available on DiscreteFieldFunction, provided by the DiscreteFieldOperators extension

Composes a function that subtracts, point-wise, other from this function's result, using DiscreteFieldFunction.subtractValue or DiscreteFieldFunction.subtractOtherField.
operator /(Object other) → DiscreteFieldFunction

Available on DiscreteFieldFunction, provided by the DiscreteFieldOperators extension

Composes a function that divides, point-wise, this function's result by other, using DiscreteFieldFunction.divideByValue or DiscreteFieldFunction.divideByOtherField.
operator <(Object other) → BooleanFieldFunction

Available on DiscreteFieldFunction, provided by the DiscreteFieldOperators extension

Composes a function that compares, point-wise, this function's result to other, using DiscreteFieldFunction.isLessThanValue or DiscreteFieldFunction.isLessThanOtherField.
operator <=(Object other) → BooleanFieldFunction

Available on DiscreteFieldFunction, provided by the DiscreteFieldOperators extension

Composes a function that compares, point-wise, this function's result to other, using DiscreteFieldFunction.isLessThanOrEqualToValue or DiscreteFieldFunction.isLessThanOrEqualToOtherField.
operator ==(Object other) → bool
The equality operator.
inherited
operator >(Object other) → BooleanFieldFunction

Available on DiscreteFieldFunction, provided by the DiscreteFieldOperators extension

Composes a function that compares, point-wise, this function's result to other, using DiscreteFieldFunction.isGreaterThanValue or DiscreteFieldFunction.isGreaterThanOtherField.
operator >=(Object other) → BooleanFieldFunction

Available on DiscreteFieldFunction, provided by the DiscreteFieldOperators extension

Composes a function that compares, point-wise, this function's result to other, using DiscreteFieldFunction.isGreaterThanOrEqualToValue or DiscreteFieldFunction.isGreaterThanOrEqualToOtherField.
operator unary-() → DiscreteFieldFunction

Available on DiscreteFieldFunction, provided by the DiscreteFieldOperators extension

Composes a function that multiplies, point-wise, this function's result by -1.