Function RhumbLine.position
Return the destination a given distance along this constant-bearing route.
Distance uses the ellipsoid's linear unit and may be negative.
Use tryPosition when you want to handle failure without exceptions.
Example
Example evaluating a prepared RhumbLine position.
import geodesy;
const solver = Rhumb!double .fromEllipsoid(wgs84!double());
const start = GeographicCoordinate!double .fromComponents(
Latitude!double .fromDegrees(48.20849),
Longitude!double .fromDegrees(16.37208));
assert(solver .line(
start,
Angle!double .fromDegrees(73.0)) .position(
1_000.0) .position .longitude .degrees > 16.37208);
}