sphtrsubd.m

From Spinach Documentation Wiki
Revision as of 16:18, 16 June 2021 by Kuprov (talk | contribs) (Created page with "{{DISPLAYTITLE:sphtrsubd.m}} __NOTOC__ Spherical triangle subdivision. Returns the midpoints of the sides of a spherical triangle specified by the unit vectors supplied. ==Sy...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Spherical triangle subdivision. Returns the midpoints of the sides of a spherical triangle specified by the unit vectors supplied.

Syntax

    [r12,r23,r31]=sphtrsubd(r1,r2,r3)

Arguments

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

Outputs

  r12,r23,r31 - three-element unit vectors with Cartesian
                coordinates of triangle arc midpoints

See also

Powder grids, Kernel grid utilities


Version 2.6, authors: Ilya Kuprov