CartesianTryParse Method
Attempts to parse a string into a Cartesian coordinate.
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 Cartesian cart
)
- value String
- string
- cart Cartesian
- Cartesian
BooleanCartesian
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
}