pub fn find_candidate_netelements(
gnss_pos: &GnssPosition,
netelements: &[Netelement],
cutoff_distance: f64,
max_candidates: usize,
) -> Result<Vec<CandidateNetElement>, ProjectionError>Expand description
Find candidate netelements for a GNSS position
Returns netelements within cutoff_distance, sorted by distance.
§Arguments
gnss_pos- The GNSS position to find candidates fornetelements- All available network netelementscutoff_distance- Maximum distance for candidate inclusion (meters)max_candidates- Maximum number of candidates to return
§Returns
Vector of candidate netelements sorted by distance (closest first)