mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 23:30:04 +00:00
Use an extra vertex radial with missing data to prevent stretching
This commit is contained in:
parent
a548497767
commit
fe4a324a04
3 changed files with 89 additions and 8 deletions
|
|
@ -3,6 +3,8 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <units/angle.h>
|
||||
|
||||
namespace scwx
|
||||
{
|
||||
namespace common
|
||||
|
|
@ -46,6 +48,17 @@ enum class DistanceType
|
|||
Miles
|
||||
};
|
||||
|
||||
/**
|
||||
* Calculate the absolute angle delta between two angles.
|
||||
*
|
||||
* @param [in] angle1 First angle
|
||||
* @param [in] angle2 Second angle
|
||||
*
|
||||
* @return Absolute angle delta normalized to [0, 360)
|
||||
*/
|
||||
units::degrees<float> GetAngleDelta(units::degrees<float> angle1,
|
||||
units::degrees<float> angle2);
|
||||
|
||||
/**
|
||||
* Calculate the geographic midpoint of a set of coordinates. Uses Method A
|
||||
* described at http://www.geomidpoint.com/calculation.html.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue