Skip to main content

check_elevation_angle

Function check_elevation_angle 

Source
pub fn check_elevation_angle(elevation_angle: f64) -> Result<()>
Expand description

Validates an elevation angle is finite and within the valid range (-90 to +90 degrees).

ยงErrors

Returns InvalidElevationAngle if elevation is not finite or outside -90 to +90 degrees.