Parses Cartesian Z from the provided string.
true - the function has succeeded, false - it has failed
The function verifies validity of the parsing result. The valid Cartesian Z is a real number.
This sample shows how to call the Cartesian.ParseCartesianZInM method from C# code:
string errorMessage = String.Empty;
string str = "3982807.8497531";
double zInM = Double.NaN;
if (Cartesian.ParseCartesianZInM(str, out zInM, out errorMessage))
{
Console.WriteLine("Z, in m: " + zInM.ToString());
}
else
{
Console.WriteLine(errorMessage);
}