-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Add implementation for tangential arc #4469
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
Conversation
for more information, see https://pre-commit.ci
|
This looks good. To make the code run on my machine I had to do the following modification. To improve this PR please consider the following
|
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
|
it looks cool! can you add a parameter to mirror the arc? |
Thanks for your suggestion. To be honest, I don't quite see the point of the extra parameter. Allowing the mirroring of the arc defeats the purpose of the class. Especially because the resulting arc would no longer be tangential to the two lines provided. Can you describe a specific use-case you have in mind? |
I was thinking about marking an angle in a triangle this way, but I think you're right. Thanks for replying! |
For that case the Angle mobject can be used. |
Right, should have RTFM'ed, thanks for pointing out :) |
henrikmidtiby
left a comment
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.
This looks good to me!
Thanks for adding the example and a unit test.

Overview: What does this pull request change?
Motivation and Explanation: Why and how do your changes improve the library?
Links to added or changed documentation pages
Further Information and Comments
Reviewer Checklist