Repo created

This commit is contained in:
Fr4nz D13trich 2025-11-22 13:58:55 +01:00
parent 4af19165ec
commit 68073add76
12458 changed files with 12350765 additions and 2 deletions

View file

@ -0,0 +1,17 @@
#pragma once
#include "geometry/latlon.hpp"
namespace ms
{
// Returns area of triangle on earth.
double AreaOnEarth(LatLon const & ll1, LatLon const & ll2, LatLon const & ll3);
// Area of the spherical cap that contains all points
// within the distance |radius| from an arbitrary fixed point, measured
// along the Earth surface.
// In particular, the smallest cap spanning the whole Earth results
// from radius = pi*EarthRadius.
// For small enough radiuses, returns the value close to pi*|radius|^2.
double CircleAreaOnEarth(double radius);
} // namespace ms