Oblique Spherical Triangle toolbox

solves the general oblique spherical triangle

https://github.com/rodyo/FEX-sphericaltrig

You are now following this Submission

This toolbox can solve any of the 6 possible subproblems associated with an oblique spherical triangle, when only 3 of the 6 angles are known.
The toolbox basically is an implementation of the set of tools developed in [Wertz, 2001], which aimed to fully automize the procedure and do away with the need of user intervention.

EXAMPLE:

[b1, c1, C1, b2, c2, C2] = aas(A, B, a)

gives both solutions for the sides b and c and the angle C, when given angles A, B and side a. This particular problem can be called the Angle-Angle-Side problem, hence the name.

Both degrees and radians are implemented, the difference is indicating by appending a 'd' to the function name. The above example expects and returns radians, whereas

[b1, c1, C1, b2, c2, C2] = aasd(A, B, a)

expects and returns degrees.

[Wertz, 2001]
James R. Wertz, Mission Geometry: Orbit and Constellation Design and Management, 2001. Published by Microcosm and Kluwer Academic Publishers.

Cite As

Rody Oldenhuis (2026). Oblique Spherical Triangle toolbox (https://github.com/rodyo/FEX-sphericaltrig/releases/tag/v1.4), GitHub. Retrieved .

Categories

Find more on Computational Geometry in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.4

See release notes for this release on GitHub: https://github.com/rodyo/FEX-sphericaltrig/releases/tag/v1.4

1.3.0.0

[linked to Github]

1.2.0.0

Found & corrected a few bugs

1.1.0.0

updated all files -- no dependencies should exist anymore.
Also got rid of H() and mal()/msl(); they were really just clutter.

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.