Solid Angle of a Triangle
Version 1.0.1 (1.15 KB) by
Ayad Al-Rumaithi
Finds the solid angle of a triangle in 3D space
function omega=Solid_Angle_Triangle(p,va,vb,vc)
Input:
p is (1*3) coordinate vector for the origin point.
va is (1*3) coordinate vector for the first vertex of the triangle.
vb is (1*3) coordinate vector for the second vertex of the triangle.
vc is (1*3) coordinate vector for the third vertex of the triangle.
Output:
omega: solid angle.
Cite As
Ayad Al-Rumaithi (2024). Solid Angle of a Triangle (https://www.mathworks.com/matlabcentral/fileexchange/159061-solid-angle-of-a-triangle), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2017b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.