Checks if the provided Mercator Y (in meters) is valid, i.e. if it can be used in GIS calculations in the Mercator projection.
true - if the Mercator Y is valid, false - if the Mercator Y is invalid
The valid Mercator Y is a real number.
This sample shows how to call the Cartesian.IsValidCartesianYInM method from C# code:
string errorMessage = String.Empty;
double yInM = 1234567.98765;
if (Mercator.IsValidMercatorYInM(yInM, out errorMessage))
{
Console.WriteLine("Mercator Y is valid.");
}
else
{
Console.WriteLine(errorMessage);
}