Uh oh!
There was an error while loading. Please reload this page.
Circle2D intersection with Line(Segment)2D - #237
Conversation
Aleady existing test cases must be changed because of the implementation of FindRoots.Polynomial(coeffs), that is, the order of the solutions.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| var d = line.Direction; | ||
| var r = this.Radius; | ||
| var a = 1d; |
There was a problem hiding this comment.
Could you tell me what the difference is between var a = 1.0 and var a = 1d?
If this repo has coding conventions, I failed to read the doc. I will read it and fix this.
Thanks for the comment.
There was a problem hiding this comment.
I feel that var a = 1d; is a bit like C of Fortran, that's all. I wouldn't reject a PR based on this.
There was a problem hiding this comment.
Thanks for the comment.
I respect your feeling, and I will fix this.
Uh oh!
There was an error while loading. Please reload this page.
for the case where LineSegment contains some of obtained intersections.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- parallel to X-axis - parallel to Y-axis - general cases (eg. x-y+c=0) test: rename method's name
4081b03 to
f3815edComparef-frhs
commented
Dec 9, 2023
Could you tell me which requrest remains? |
jkalias
commented
Dec 9, 2023
Thank you for your effort and time! |
f-frhs
commented
Dec 9, 2023
Thank YOU for your patience. |
I implemented the code to calculate the intersection of the circle with the line, specifically,
It will be nice if we can discuss whether the testcases are sufficient or not.
this task is based on the comment in #186:
Originally posted by @jkalias in #186 (comment)