-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
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
MathNet.Spatial.Euclidean.Line3D retruns UnExpected NULL #239
Comments
Apparently reason for listed ~issue is: Line SEGMENT is slightly ~short of penetrating the Plane. |
I am not really sure I understood your explanation, can you explain it again with other words please? |
Reference the original posted FAILS code: That code returns NULL for the intersection (ie, No Intersect); I suggest This because the LINE is not considered infinite by MathNet. Using Ray3D in-place-of Line3D probably is the solution; However, I suspect would need to check BOTH directions (direct and mirror) of Ray to insure all tested for plane intersect. |
I think the error lies in the implementation of As far as I can tell, Spatial treats For my understanding, |
Indeed, Line3D was at one point on the schedule to be deprecated |
MathNet.Spatial.Euclidean.Line3D Intersection with Plane returns unexpected NULL:
//------------------------------------
// Immediate below FAILS, expecting (200, ~0, ~0) but receive aPtint = NULL:
//------------------------------------
Below DOES work, receives aPtint = (200, 0, 0);
Notes:
_difference in above is changing Cp value from -3.979039320256561E-13 to 0;
_modification of error epsilon from 4.9E-324 to 0 etc did not change results.
_employing using VS 2017 fully updated; Working as expected for all other code within subject test.
The text was updated successfully, but these errors were encountered: