pub fn cap_intersection_area(
center_a: &SphericalPoint,
alpha_a: f64,
center_b: &SphericalPoint,
alpha_b: f64,
) -> f64Expand description
Solid angle of the intersection of two spherical caps.
Given two caps (center_a, α_a) and (center_b, α_b), computes the solid angle of their overlap region on S².
Uses the analytic formula for two-cap intersection via the lens integral. Returns 0.0 if the caps don’t overlap.