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