clamp_wgs84_point

Function clamp_wgs84_point 

Source
pub fn clamp_wgs84_point<P: GetXY + SetXY>(point: &mut P)
Expand description

Updates the WGS84 point’s x and y values as needed to be valid WGS84

§Parameters

point: the WGS 84 point to clamp/wrap

§Returns

The point itself post update