pub fn sbas_protection_levels(
geometry: &AraimGeometry,
model: &dyn ProtectionModel,
k: SbasKMultipliers,
) -> Result<SbasProtection, SbasPlError>Expand description
Compute DO-229 SBAS HPL and VPL from geometry and supplied range sigmas.
The protection model supplies one externally determined range sigma per
geometry row. The function forms the same ENU gain matrix used by ARAIM,
projects the diagonal range covariance through that matrix, routes the
horizontal 2x2 covariance through error_ellipse_2x2_unit, and applies the
fixed SBAS K multipliers.