Click or drag to resize

CartesianTryParse Method

Attempts to parse a string into a Cartesian coordinate.

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

Parameters

value
Type: SystemString
string
cart
Type: CoordinateSharpCartesian
Cartesian

Return Value

Type: Boolean
Cartesian
Examples
The following example attempts to parse a Cartesian coordinate.
Cartesian cart;
if(!Cartesian.TryParse("0.03398841 -0.64592813 0.76264123", out cart))
{
    Console.WriteLine(cart);//0.03398841 -0.64592813 0.76264123
}
See Also