mathnet / mathnet-spatial

Math.NET Spatial
http://spatial.mathdotnet.com
MIT License
376 stars 132 forks source link

Bug in UnitVector3d.Parse("-1,0,1") #168

Closed JohanLarsson closed 5 years ago

JohanLarsson commented 5 years ago

Message: System.FormatException : Could not parse a UnitVector3D from the string -1,0,1

JohanLarsson commented 5 years ago

Maybe not a bug, weird default tolerance.

var uv = UnitVector3D.Parse("-1,0,1", CultureInfo.InvariantCulture, double.PositiveInfinity);

Works.