elevationSamplingInterval property

double get elevationSamplingInterval

The interval at which the elevation surface is sampled, in the horizontal units of the surface data source.

A line of sight is evaluated by horizontally sampling the LineOfSightFunction elevation surface at discrete intervals. This parameter indicates the size of the interval in the horizontal unit of the elevation surface SpatialReference.

Decreasing the interval increases the frequency at which the elevation surface is sampled, resulting in a higher fidelity, and more accurate, line of sight. Use a resolution of 0 to sample the elevation surface at its full resolution for the highest fidelity line of sight.

Increasing the interval means the elevation surface is sampled at coarser intervals, giving a lower fidelity, and more approximate, line of sight.

A small sampling interval is computationally more expensive and is slower to produce a result compared to using a larger sampling interval.

The default value is 0, which samples the elevation surface at the full resolution of the data.

set elevationSamplingInterval (double value)