Skip to main content

line_along

Function line_along 

Source
pub fn line_along(from: &GeoCoord, to: &GeoCoord, count: usize) -> Vec<GeoCoord>
Expand description

Sample count evenly-spaced points along the great-circle path between from and to.

Returns count points including both endpoints. If count < 2, returns just [from, to].