We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With three equidistant points you can this line:
BHoM_Engine/Geometry_Engine/Compute/FitLine.cs
Line 67 in 5b19bd4
To produce NaN because you're dividing by 0, i.e. p2 = 0.
NaN
p2 = 0
See test script.
A line through the middle of all three points.
#3278-FitLineEdgeCase
The text was updated successfully, but these errors were encountered:
#3278 fixed
19144dc
pawelbaran
Successfully merging a pull request may close this issue.
Description:
With three equidistant points you can this line:
BHoM_Engine/Geometry_Engine/Compute/FitLine.cs
Line 67 in 5b19bd4
To produce
NaN
because you're dividing by 0, i.e.p2 = 0
.Steps to reproduce:
See test script.
Expected behaviour:
A line through the middle of all three points.
Test file(s):
#3278-FitLineEdgeCase
The text was updated successfully, but these errors were encountered: