sample method

ContinuousFieldSampleFunction sample(
  1. ArcGISPoint position
)

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.

Parameters:

  • position — The position at which to sample the result of this field function.

Return Value: A function that samples the result of this field function at a position.