Skip to main content

destination

Function destination 

Source
pub fn destination<P>(
    origin: &P,
    bearing: f64,
    distance: f64,
) -> <DefaultDestinationStrategy<P> as DestinationStrategy<P>>::Output
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.