ECEFTryParse Method
Attempts to parse a string into an ECEF coordinate (kilometer format).
Namespace: CoordinateSharpAssembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
public static bool TryParse(
string value,
out ECEF ecef
)
- value String
- string
- ecef ECEF
- ECEF
BooleanECEF
The following example attempts to parse an ECEF coordinate.
ECEF ecef;
if(!ECEF.TryParse("217.206 km, -4127.862 km, 4841.101 km", out ecef))
{
Console.WriteLine(ecef);//217.206 km, -4127.862 km, 4841.101 km
}