Geotools.Net

PrecisionModel.MakePrecise Method 

This method "fixes" an ordinate value to the Fixed PrecisionModel grid.

[Visual Basic]
Public Shared Function MakePrecise( _
   ByVal val As Double _
) As Double
[C#]
public static double MakePrecise(
   double val
);

Parameters

val
The double to be used for comparison.

Return Value

Returns the closest floating-point value to val that is equal to a mathematical integer. Returns the largest (closest to positive infinity) double value that is not greater than the argument and is equal to a mathematical integer. Special cases: If the argument value is already equal to a mathematical integer, then the result is the same as the argument. If the argument is NaN or an infinity or positive zero or negative zero, then the result is the same as the argument.

Remarks

Missing <remarks> documentation for M:Geotools.Geometries.PrecisionModel.MakePrecise(System.Double)

See Also

PrecisionModel Class | PrecisionModel Members | Geotools.Geometries Namespace