Click or drag to resize

ECEFTryParse Method

Attempts to parse a string into an ECEF coordinate.

Namespace:  CoordinateSharp
Assembly:  CoordinateSharp (in CoordinateSharp.dll) Version: 2.12.1.1
Syntax
C#
public static bool TryParse(
	string value,
	out ECEF ecef
)

Parameters

value
Type: SystemString
string
ecef
Type: CoordinateSharpECEF
ECEF

Return Value

Type: Boolean
ECEF
Examples
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
}
See Also