6 kyu

Angle between two planes

Description
Loading description...
Geometry
Fundamentals
Algorithms
View
AllIssues6QuestionsSuggestions1Show Resolved
  • Please sign in or sign up to leave a comment.
  • saudiGuy Avatar

    This comment has been hidden.

  • ejini战神 Avatar
    • Description should be language-agnostic

    • Parameter name in initial solution setup should be snake_case

    • Python new test framework should be used

  • dfhwze Avatar

    Use approx equality instead of rounding

  • akar-0 Avatar

    Your task is to write a function angle_planes(lstPts) that calculates the angle between two planes, each of them being defined by a tuple of three points.

    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.

  • RavenLM Avatar

    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.

  • Blind4Basics Avatar

    Hi,

    I made several modifications in the description, I hope you won't mind.

    • typos
    • set -> tuples of points
    • correction of the argument name A -> lstPts (in the initial solution too. That is because in python, name beginning with uppercase are for objects)
    • little things like that...

    cheers

  • mstrfx Avatar

    Random tests Traceback: in in angleplanes in NameError: name 'vecpoint' is not defined