void AddCircle(Airspaces &airspace_database) { AbstractAirspace *as = new AirspaceCircle(Center, Radius); as->set_properties(Name, Type, Base, Top); as->set_radio(Radio); as->set_days(days_of_operation); airspace_database.insert(as); }
void AddPolygon(Airspaces &airspace_database) { AbstractAirspace *as = new AirspacePolygon(points); as->set_properties(Name, Type, Base, Top); as->set_radio(Radio); as->set_days(days_of_operation); airspace_database.insert(as); }