sphtarea.m

From Spinach Documentation Wiki
Jump to: navigation, search

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

Syntax

    S=sphtarea(r1,r2,r3,sflag)

Parameters

  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

arclength.m, gaussleg.m, get_hull.m, grid_fibon.m, grid_igloo.m, grid_kron.m, grid_plot.m, grid_polar.m, grid_test.m, grid_trian.m, one_vcell_solidangle.m, repulsion.m, shrewd.m, sphtrsubd.m, vcell_solidangle.m, voitlander.m, voronoisphere.m, zfs_sampling.m, Kernel_utilities, Appendix I: powder grids

Version 2.6, authors: Ilya Kuprov