geometry-central
geometry-central copied to clipboard
Updating the functionality of barycentric vectors
Nothing major -- just added additional functionality to the BarycentricVector
object:
-
rotated90()
now supports edge-type vectors as input - a new function
rotated()
allows rotation of vectors by arbitrary angles - added some more detailed comments in the code so I don't forget how I derived quantities :)
- documentation updated accordingly.
Let me know if you need me to add additional test functions to geometry-central -- for these few commits, I tested everything using an external program: https://github.com/nzfeng/barycentric-vector-demo
This looks great! Docs are good too. I left two small comments above, but neither are big issues, just small questions.
@nzfeng just realized this was never merged, is it good-to-go on your end? if so we can hit the merge button
Yes, it's good to go on my end! Edit: Just rebased on top of geometry-central's master
branch.
Awesome! thank you!!
Docs are already updated here: https://geometry-central.net/surface/utilities/barycentric_vector/