Class representing a given ellipsoid for precise loxodrome or rhumbline calculations.
More...
Class representing a given ellipsoid for precise loxodrome or rhumbline calculations.
◆ Loxodrome()
TPG.GeoUnits.Loxodrome.Loxodrome |
( |
double |
a, |
|
|
double |
f |
|
) |
| |
|
inline |
Constructor for the Loxodrome class.
- Parameters
-
a | equatorial radius (meters) |
f | flattening of ellipsoid |
◆ BearingRange()
Solves the inverse loxodrome problem. There are infinitely many such curves connecting two given points. This function selects the shortest one, with a preference for going east in case of antipodal points.
- Parameters
-
gp0 | originating position |
gp1 | target position |
- Returns
- Bearing and range along the loxodrome between the given points
◆ BearingRangeToPos()
Solves the direct loxodrome problem.
- Parameters
-
gp0 | originating position |
br | Bearing and range along the loxodrome |
- Returns
- end position. If the range is long enough thar the line reaches a pole, NaN is returned for longitude
◆ IntermediatePos()
Computes evenly spaced waypoints along the shortest loxodrome between two given positions.
- Parameters
-
pos0 | Start position |
pos1 | End position |
n | Number of waypoints (>= 2), including start and end points |
- Returns
- Array of waypoints
The documentation for this class was generated from the following file:
- Src/Libraries/Teleplan.C4IS.Geo/Loxodrome.cs