CartesianTryParse Method

Attempts to parse a string into a Cartesian coordinate.

Definition

Namespace: CoordinateSharp
Assembly: CoordinateSharp (in CoordinateSharp.dll) Version: 2.21.1.1
XMLNS for XAML: Not mapped to an xmlns.
C#
public static bool TryParse(
	string value,
	out Cartesian cart
)

Parameters

value  String
string
cart  Cartesian
Cartesian

Return Value

Boolean
Cartesian

Example

The following example attempts to parse a Cartesian coordinate.
C#
Cartesian cart;
if(!Cartesian.TryParse("0.03398841 -0.64592813 0.76264123", out cart))
{
    Console.WriteLine(cart);//0.03398841 -0.64592813 0.76264123
}

See Also