Click or drag to resize

InterpolatingConverterCalculateGridSizeFromErrorEstimate Method

Calculate and return a grid size estimate based on a max error. This only returns an indication, the actual error will usually be larger than the max error, for the returned grid size.

Grid size cannot be larger than extent of area in x and y direction.

Namespace:  DHI.Projections
Assembly:  DHI.Projections (in DHI.Projections.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public double CalculateGridSizeFromErrorEstimate(
	double maxError,
	double minGridsize,
	double maxGridsize
)

Parameters

maxError
Type: SystemDouble
Maximum error to set grid size for
minGridsize
Type: SystemDouble
Smallest grid size allowed
maxGridsize
Type: SystemDouble
Largest grid size allowed

Return Value

Type: Double
Grid size
See Also