mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-03-15 09:53:54 +01:00
Use more common names for geodesic and rhumb line
This commit is contained in:
parent
2e27fc740d
commit
81707c8ac0
|
|
@ -67,11 +67,11 @@ namespace MapControl
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Calculates a series of Locations on a great circle, or orthodrome, that connects the
|
/// Calculates a series of Locations on a great circle, i.e. a geodesic that connects
|
||||||
/// two specified Locations, with an optional angular resolution specified in degrees.
|
/// the two specified Locations, with an optional angular resolution specified in degrees.
|
||||||
/// See https://en.wikipedia.org/wiki/Great-circle_navigation.
|
/// See https://en.wikipedia.org/wiki/Great-circle_navigation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocationCollection OrthodromeLocations(Location location1, Location location2, double resolution = 1d)
|
public static LocationCollection GeodesicLocations(Location location1, Location location2, double resolution = 1d)
|
||||||
{
|
{
|
||||||
if (resolution <= 0d)
|
if (resolution <= 0d)
|
||||||
{
|
{
|
||||||
|
|
@ -132,11 +132,11 @@ namespace MapControl
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Calculates a series of Locations on a rhumb line, or loxodrome, that connects the
|
/// Calculates a series of Locations on a rhumb line that connects the two
|
||||||
/// two specified Locations, with an optional angular resolution specified in degrees.
|
/// specified Locations, with an optional angular resolution specified in degrees.
|
||||||
/// See https://en.wikipedia.org/wiki/Rhumb_line.
|
/// See https://en.wikipedia.org/wiki/Rhumb_line.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static LocationCollection LoxodromeLocations(Location location1, Location location2, double resolution = 1d)
|
public static LocationCollection RhumblineLocations(Location location1, Location location2, double resolution = 1d)
|
||||||
{
|
{
|
||||||
if (resolution <= 0d)
|
if (resolution <= 0d)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue