inline void ChartControl::UpdateCrossSection(const MoreData &basic, const DerivedInfo &calculated, const GlideSettings &glide_settings, const GlidePolar &glide_polar, const MapSettings &map_settings) { cross_section_renderer.ReadBlackboard(basic, calculated, glide_settings, glide_polar, map_settings); if (basic.location_available && basic.track_available) { cross_section_renderer.SetDirection(basic.track); cross_section_renderer.SetStart(basic.location); } else cross_section_renderer.SetInvalid(); }
void ReadBlackboard(const MoreData &basic, const DerivedInfo &calculated, const AirspaceRendererSettings &ar_settings) { renderer.ReadBlackboard(basic, calculated, ar_settings); }