cartesian vector pointing at the triangle first vertex.
v2(3)
DP
IN
cartesian vector pointing at the triangle second vertex.
v3(3)
DP
IN
cartesian vector pointing at the triangle third vertex.
surface
DP
OUT
surface of the triangle in steradians.
EXAMPLE:
use healpix_types
use pix_tools, only : surface_triangle
real(DP) :: surface, one = 1.0_dp
call surface_triangle((/1,0,0/)*one, (/0,1,0/)*one, (/0,0,1/)*one, surface)
print*, surface
Returns the surface in steradians of the triangle defined by the octant (x,y,z>0) : 1.5707963267948966
RELATED ROUTINES
This section lists the routines related to surface_triangle