You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for my late reply I saw this issue just now.
So the result is right, there is no problem at all here (you have to be VERY careful when dealing with numerics). Indeed Point(1.4,1.3) is to the left of the line and Point(1.4, prevfloat(1.3)) is to the right. The numerical line is not "continuous" in any way
In fact it is very hard to find points exactly on this line, see code and plot below:
julia> orientation(Line(Point(1.,1.), Point(1.8, 1.6)), Point(1.4, 1.3))
1
julia> orientation(Line(Point(1.,1.), Point(1.8, 1.6)), Point(1.4, prevfloat(1.3)))
-1
The text was updated successfully, but these errors were encountered: