6 kyu
Angle between two planes
84eqlion
Loading description...
Geometry
Fundamentals
Algorithms
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
This comment has been hidden.
JS Translation
Description should be language-agnostic
Parameter name in initial solution setup should be
snake_case
Python new test framework should be used
Use approx equality instead of rounding
We actually receive a list of 6 tuples of 3 coordinates (I guess). This is a bad design. We should receive two tuples of 3 tuples each.
Hi,
The angle between two planes shouldn't be restricted to [0, 90], because it arbitrary assumes the orientations of normal vectors, therefore some methods giving mathematicaly right anwsers fail. Such assumption would cause problems in scientific calculations.
Hi,
I made several modifications in the description, I hope you won't mind.
A
->lstPts
(in the initial solution too. That is because in python, name beginning with uppercase are for objects)cheers
Thank you for the contribution!
Random tests Traceback: in in angleplanes in NameError: name 'vecpoint' is not defined
Thank you, I'll work on that as soon as possible.
I believe I've solved the problem. Enjoy the kata now!
del
I think it should work now. Looking forward to your feedback!
Works perfectly now. Great kata, ty.