Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

PolarNick239
Copy link

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).

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;
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Антон вам еще не рассказал, почему 3 пробела хорошо, а 4 плохо?)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Нет :)
Предположение - чтобы не было споров?
Или у четырех есть фатальный недостаток?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Есть. Четыре пробела слишком большой отступ, а два слишком маленький :) Надо поправить на три.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ну елки-палки. Это какой-то мрак. Стандарты ведь есть, IDE ведь должны бы быть (а с этого года и для плюсов). Сейчас испорчу на три.

@PolarNick239
Copy link
Author

В чем у меня бага в рассчете доверительного диапазона? (мои тесты падают, если этап на чистых double включить)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants