sphtarea.m

From Spinach Documentation Wiki
Revision as of 19:36, 29 June 2021 by Kuprov (talk | contribs) (Created page with "{{DISPLAYTITLE:sphtarea.m}} __NOTOC__ Area of the curvilinear triangle on the unit sphere defined by the vertex coordinates supplied. ==Syntax== function call string =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Area of the curvilinear triangle on the unit sphere defined by the vertex coordinates supplied.

Syntax

    function call string

Arguments

  r1,r2,r3  - three-element unit vectors with Cartesian
              coordinates of triangle vertices

     sflag  - 'signed' would take into account surface
              normal direction, 'unsigned' (default)
              would always return a positive area


Outputs

         S  - spherical triangle surface area

See also

Integration grids


Version 2.6, authors: Ilya Kuprov