Basic placefile lines rendering

Desired to make the line styling look more like warning boxes
This commit is contained in:
Dan Paulat 2023-08-20 22:37:46 -05:00
parent e3c6850a1e
commit c85e4cef58
6 changed files with 487 additions and 2 deletions

View file

@ -1,6 +1,7 @@
#pragma once
#include <GeographicLib/Geodesic.hpp>
#include <units/angle.h>
#include <units/length.h>
namespace scwx
@ -19,6 +20,19 @@ namespace GeographicLib
*/
const ::GeographicLib::Geodesic& DefaultGeodesic();
/**
* Get the angle between two points.
*
* @param [in] lat1 latitude of point 1 (degrees)
* @param [in] lon1 longitude of point 1 (degrees)
* @param [in] lat2 latitude of point 2 (degrees)
* @param [in] lon2 longitude of point 2 (degrees)
*
* @return angle between point 1 and point 2
*/
units::angle::degrees<double>
GetAngle(double lat1, double lon1, double lat2, double lon2);
/**
* Get the distance between two points.
*