pub fn destination<P>(
origin: &P,
bearing: f64,
distance: f64,
) -> <DefaultDestinationStrategy<P> as DestinationStrategy<P>>::Outputwhere
P: Point,
<<P as Point>::Cs as CoordinateSystem>::Family: DefaultDestination<<<P as Point>::Cs as CoordinateSystem>::Family>,
DefaultDestinationStrategy<P>: DestinationStrategy<P> + Default,Expand description
Compute the destination using the point’s coordinate-system default.
bearing is in radians, clockwise from north. distance uses the default
strategy’s radius or spheroid units. The result uses the origin point’s
coordinate system and angular unit.