-
Notifications
You must be signed in to change notification settings - Fork 31
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
Rotation of 3 points in 3D implemented and covered by tests. #35
base: master
Are you sure you want to change the base?
Conversation
Only interval and rational calculation implemented correctly. Double arithmetic calculation implemented WRONG! (test will fail, if you will uncomment double-arithmetic optimisation) It seems, that I was wrong in eps calcultaion. My calculations - https://www.dropbox.com/s/6ntftgxuld53clz/19_3.jpeg?dl=0 But orientation of 3D points is usable - but it can be a bit slow (interval and rational arithmetic driven).
{ | ||
return v *= s; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Антон вам еще не рассказал, почему 3 пробела хорошо, а 4 плохо?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Нет :)
Предположение - чтобы не было споров?
Или у четырех есть фатальный недостаток?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Есть. Четыре пробела слишком большой отступ, а два слишком маленький :) Надо поправить на три.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ну елки-палки. Это какой-то мрак. Стандарты ведь есть, IDE ведь должны бы быть (а с этого года и для плюсов). Сейчас испорчу на три.
В чем у меня бага в рассчете доверительного диапазона? (мои тесты падают, если этап на чистых double включить) |
Only interval and rational calculation implemented correctly.
Double arithmetic calculation implemented WRONG! (test will fail, if you will uncomment double-arithmetic optimisation) It seems, that I was wrong in eps calcultaion. My calculations - https://www.dropbox.com/s/6ntftgxuld53clz/19_3.jpeg?dl=0
But orientation of 3D points is usable - but it can be a bit slow (interval and rational arithmetic driven).