Open goswinr opened 5 years ago
When calling ToString() on Point3d.Unset it prints -1.23432101234321E+308,-1.23432101234321E+308,-1.23432101234321E+308 a string literal like Point3d.Unset or Point3d.Unset (-1.2E+308, -1.2E+308, -1.2E+308) would be nicer so that it is explicit that this is a special point value. This helps in debugging too. at line https://github.com/mcneel/rhinocommon/blob/57c3967e33d18205efbe6a14db488319c276cbee/dotnet/opennurbs/opennurbs_point.cs#L1872
Point3d.Unset
-1.23432101234321E+308,-1.23432101234321E+308,-1.23432101234321E+308
Point3d.Unset (-1.2E+308, -1.2E+308, -1.2E+308)
I would in general add a type annotation and format any point as Point3d(1,2,3) instead of 1,2,3 but i understand that this might be a problem if someone relies on the current behaviour.
Point3d(1,2,3)
1,2,3
When calling ToString() on
Point3d.Unset
it prints-1.23432101234321E+308,-1.23432101234321E+308,-1.23432101234321E+308
a string literal likePoint3d.Unset
orPoint3d.Unset (-1.2E+308, -1.2E+308, -1.2E+308)
would be nicer so that it is explicit that this is a special point value. This helps in debugging too. at line https://github.com/mcneel/rhinocommon/blob/57c3967e33d18205efbe6a14db488319c276cbee/dotnet/opennurbs/opennurbs_point.cs#L1872