ContinuousFieldClipFunction

A ContinuousFieldFunction with a result clipped to a specified extent. Use ContinuousFieldFunction.evaluate to compute the result of this function.

After updating parameters of this function, or of functions from which it is composed, evaluation uses the updated parameter values and may produce an updated result.

Since

300.2.0

See also

Constructors

Link copied to clipboard
constructor(field: ContinuousFieldFunction, extent: Envelope?)

Composes a function with a result clipped to a specified extent. When the extent is null, the function's field result is not clipped.

Properties

Link copied to clipboard

The extent to clip the field to. When the extent is null, this function's field result is not clipped.

Inherited functions

Link copied to clipboard

Composes a function that returns the arccosine of this function's field result across its extent. The function result is the principal value, in radians, of the inverse cosine of the function's field result, so the function result lies between 0 and pi.

Link copied to clipboard

Composes a function that returns the arcsine of this function's field result across its extent. The function result is the principal value, in radians, of the inverse sine of the function's field result, so the function result lies between -pi/2 and pi/2.

Link copied to clipboard

Composes a function that returns the aspect of this function's field result across its extent. Aspect identifies the compass direction that the downhill slope faces at each location. It is expressed in positive degrees from 0 up to but not including 360, measured clockwise from the positive Y axis. It is calculated from the direction of the gradient vector at each point in the interpolated field. The X and Y gradient components are partial derivatives calculated via the central difference method, using a step size set to half of the source dataset's spatial resolution for each axis.

Link copied to clipboard

Composes a function that returns the arctangent of this function's field result across its extent. The function result is the principal value, in radians, of the inverse tangent of the function's field result, so the function result lies between -pi/2 and pi/2.

Link copied to clipboard

Composes a function with a result clipped to a specified extent. When the extent is null, the returned function's field result is not clipped.

Link copied to clipboard

Composes a function that clamps, point-wise, this function's field result between two values drawn from two others. The function result is min where this function's field result is less than min. The function result is max where this function's field result is greater than max. Otherwise, this function's field result is preserved.

Composes a function that clamps, point-wise, this function's field result between two values. The function result is min where this function's field result is less than min. The function result is max where this function's field result is greater than max. Otherwise this function's field result is preserved.

Composes a function that clamps, point-wise, this function's field result between two values. The function result is min where this function's field result is less than min. The function result is max where this function's field result is greater than max. Otherwise, this function's field result is preserved.

Link copied to clipboard

Composes a function that returns the cosine of this function's field result across its extent. The function's field result is in radians.

Link copied to clipboard

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.

Composes a function that divides, point-wise, this function's field result by a value across its extent. A null value is interpreted as no data. The function result has no data where the value or this function's field result has no data.

operator fun div(value: Float): ContinuousFieldFunction

Composes a function that divides, point-wise, this function's field result by a value across its extent. The function result has no data where this function's field result has no data.

Link copied to clipboard

Evaluates the function. If the data fits in memory, it is processed in a single pass. Larger datasets (typically >2 GB) are split into smaller processing areas to match available hardware, increasing processing time.

Link copied to clipboard

Composes a function that returns Euler's number (e) raised to this function's field result across its extent. The function result has no data where this function's field result has no data.

Link copied to clipboard

Composes a function that returns 10 raised to this function's field result across its extent. The function result has no data where this function's field result has no data.

Link copied to clipboard

Composes a function that identifies, point-wise, where this function's field result has data across its extent. The function result values are true where this function's field result has data and false where it has no data. All values in the result have data.

Link copied to clipboard

Composes a function that indicates if, point-wise, this function's field result is greater than another. The function result has no data where either of the given fields has no data.

Composes a function that indicates if, point-wise, this function's field result is greater than a given value. A null value is interpreted as no data. The function result has no data where the value or this function's field result has no data.

Composes a function that indicates if, point-wise, this function's field result is greater than a given value. The function result has no data where this function's field result has no data.

Link copied to clipboard

Composes a function that indicates if, point-wise, this function's field result is greater than or equal to another. The function result has no data where either of the given fields has no data.

Composes a function that indicates if, point-wise, this function's field result is greater than or equal to a given value. A null value is interpreted as no data. The function result has no data where the value or this function's field result has no data.

Composes a function that indicates if, point-wise, this function's field result is greater than or equal to a given value. The function result has no data where this function's field result has no data.

Link copied to clipboard

Composes a function that indicates if, point-wise, this function's field result is less than another. The function result has no data where either of the given fields has no data.

Composes a function that indicates if, point-wise, this function's field result is less than a given value. A null value is interpreted as no data. The function result has no data where the value or this function's field result has no data.

Composes a function that indicates if, point-wise, this function's field result is less than a given value. The function result has no data where this function's field result has no data.

Link copied to clipboard

Composes a function that indicates if, point-wise, this function's field result is less than or equal to another. The function result has no data where either of the given fields has no data.

Composes a function that indicates if, point-wise, this function's field result is less than or equal to a given value. A null value is interpreted as no data. The function result has no data where the value or this function's field result has no data.

Composes a function that indicates if, point-wise, this function's field result is less than or equal to a given value. The function result has no data where this function's field result has no data.

Link copied to clipboard

Composes a function that returns the natural logarithm of this function's field result across its extent. The function result has no data where this function's field result has no data.

Link copied to clipboard

Composes a function that returns the common logarithm (base 10) of this function's field result across its extent. The function result has no data where this function's field result has no data.

Link copied to clipboard

Composes a function that applies a mask to this function's field result. Where the selection is true, values from this function's field result are preserved. Where the selection is false, the field has no data. The function result has no data where this function's field result or the selection has no data.

Link copied to clipboard

Composes a function that subtracts, point-wise, another field from this function's field result across their spatial intersection. The function result has no data where either of the given fields has no data.

Composes a function that subtracts, point-wise, a value from this function's field result across its extent. A null value is interpreted as no data. The function result has no data where the value or this function's field result has no data.

operator fun minus(value: Float): ContinuousFieldFunction

Composes a function that subtracts, point-wise, a value from this function's field result across its extent. The function result has no data where this function's field result has no data.

Link copied to clipboard

Composes a function that adds, point-wise, this function's field result and another across their spatial intersection. The function result has no data where either of the given fields has no data.

Composes a function that adds, point-wise, a value to this function's field result across its extent. A null value is interpreted as no data. The function result has no data where the value or this function's field result has no data.

operator fun plus(value: Float): ContinuousFieldFunction

Composes a function that adds, point-wise, a value to this function's field result across its extent. The function result has no data where this function's field result has no data.

Link copied to clipboard

Composes a function that returns this function's field result raised to powers drawn from another field, point-wise, across their spatial intersection. The function result has no data where either of the fields have no data.

Composes a function that returns this function's field result raised to a power across its extent. A null value is interpreted as no data. The function result has no data where the power or this function's field result has no data.

Composes a function that returns this function's field result raised to a power across its extent. The function result has no data where this function's field result has no data.

Link copied to clipboard

Composes a function that returns the reciprocal of this function's field result across its extent. The function result has no data where this function's field result has no data.

Link copied to clipboard

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. The function result has no data where either of the fields have no data.

operator fun rem(divisor: FloatFunction): ContinuousFieldFunction

Composes a function that applies a % (remainder) operation, point-wise, to this function's field result. A null value is interpreted as no data. The function result has no data where the divisor or this function's field result has no data, or when the divisor is zero.

operator fun rem(divisor: Float): ContinuousFieldFunction

Composes a function that applies a % (remainder) operation, point-wise, to this function's field result. The function result has no data where this function's field result has no data.

Link copied to clipboard

Composes a function that preserves values from this function's field result or replaces them with values from another. Values are replaced point-wise across the spatial intersection of the selection with the union of the two function's field results. Where the selection is true, values from the other field are returned. Where the selection is false, values from this function's field result are returned. The function result has no data where the selection or the selected field has no data.

Composes a function that preserves values from this function's field result or replaces them with another value. Values are determined, point-wise, across the extent of this function's field result based on a selection. Where the selection is true, the specified value is returned. Where the selection is false, values from this function's field result are returned. A null value is interpreted as no data. The function result has no data where the selection or this function's field result has no data.

Composes a function that preserves values from this function's field result or replaces them with a constant value. Values are determined point-wise across the extent of this function's field result based on a selection. Where the selection is true, the specified constant value is returned. Where the selection is false, values from this function's field result are returned. The function result has no data where the selection or this function's field result has no data.

Link copied to clipboard

Composes a function that samples the result of this field function at a position. ContinuousFieldSampleFunction.evaluate fails if ContinuousFieldSampleFunction.position is null. However, creating a ContinuousFieldSampleFunction with no position can be useful in an interactive or dynamic analysis. A null initial position lets you define an interactive or dynamic analysis before its position is available. You can then defer evaluation until a position has been populated.

Link copied to clipboard

Composes a function that returns the sine of this function's field result across its extent. The function's field result is in radians.

Link copied to clipboard

Composes a function that returns the slope of this function's field result across its extent. Slope identifies the steepness of the terrain at each location, expressed in positive degrees from 0 (flat) to 90. It is calculated from the arctangent of the magnitude of the gradient vector at each point in the interpolated field. The X and Y gradient components are partial derivatives calculated via the central difference method, using a step size set to half of the source dataset's spatial resolution for each axis.

Link copied to clipboard

Composes a function that returns the square root of this function's field result across its extent. The function result has no data where this function's field result has no data.

Link copied to clipboard

Composes a function that returns the tangent of this function's field result across its extent. The function's field result is in radians.

Link copied to clipboard

Composes a function that multiplies, point-wise, this function's field result and another across their spatial intersection. The function result has no data where either of the given fields has no data.

Composes a function that multiplies, point-wise, this function's field result by a value across its extent. A null value is interpreted as no data. The function result has no data where the value or this function's field result has no data.

operator fun times(value: Float): ContinuousFieldFunction

Composes a function that multiplies, point-wise, this function's field result by a value across its extent. The function result has no data where this function's field result has no data.

Link copied to clipboard

Composes a function that casts, point-wise, float values from this function's field result to integer values across its extent. Values that are within the representable range of a 32-bit signed integer are converted to an integer by discarding the fractional part then cast. Values that are not within the representable range of a 32-bit signed integer are clamped to be within the representable range then converted to an integer by discarding the fractional part then cast. The function result has no data where this function's field result has no data.