Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Generate the incircle of a spherical triangle
ResourceFunction["SphericalIncircle"][{p1,p2,p3}] returns a BSplineCurve representing the incircle of the spherical triangle with corner points p1,p2, and p3. | |
ResourceFunction["SphericalIncircle"][{p1,p2,p3},property] gives the value of the specified property. |
"Association" | association containing the incircle, incenter and inradius |
"Center" | center of the incircle (in Cartesian coordinates) |
"Circle" | BSplineCurve representing the incircle |
"Radius" | inradius (spherical distance) |
Generate the vertices of a spherical triangle:
In[1]:= | ![]() |
Out[2]= | ![]() |
Show the incircle as a BSplineCurve object:
In[3]:= | ![]() |
Out[3]= | ![]() |
Visualize the spherical triangle and its incircle together:
In[4]:= | ![]() |
Out[4]= | ![]() |
Generate the vertices of a spherical triangle:
In[5]:= | ![]() |
Out[6]= | ![]() |
Return the incenter and inradius:
In[7]:= | ![]() |
Out[7]= | ![]() |
In[8]:= | ![]() |
Out[8]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License