Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Multidimensional polar angle of a corner
ResourceFunction["ErikssonPolarAngle"][o,{p1,…,pd}] gives the polar angle at the point o and spanned by the vectors p1,…,pd. |
The polar angle at the origin for vectors in two dimensions:
In[1]:= | ![]() |
Out[1]= | ![]() |
The polar angle at the origin for vectors in three dimensions:
In[2]:= | ![]() |
Out[2]= | ![]() |
ErikssonPolarAngle works in any number of dimensions:
In[3]:= | ![]() |
Out[3]= | ![]() |
In[4]:= | ![]() |
Out[4]= | ![]() |
In[5]:= | ![]() |
Out[5]= | ![]() |
In two dimensions, ErikssonPolarAngle is similar to the results of SolidAngle and PlanarAngle:
In[6]:= | ![]() |
Out[6]= | ![]() |
In three dimensions, the difference between ErikssonPolarAngle and SolidAngle is more apparent:
In[7]:= | ![]() |
Out[7]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License