+private:
+ list<Building> buildings_;
+ Direction sky_;
+
+ void internal_merge_skyline (list<Building>*, list<Building>*,
+ list<Building> *const result);
+ list<Building> internal_build_skyline (list<Box>*, Real, Axis, Direction);
+
+ DECLARE_SIMPLE_SMOBS(Skyline);
+
+public:
+ Skyline ();
+ Skyline (Skyline const &src);
+ Skyline (Direction sky);
+ Skyline (vector<Box> const &bldgs, Real horizon_padding, Axis a, Direction sky);
+ Skyline (Box const &b, Real horizon_padding, Axis a, Direction sky);
+
+ vector<Offset> to_points (Axis) const;
+ void merge (Skyline const &);
+ void insert (Box const &, Real horizon_padding, Axis);
+ void print () const;
+ void print_points () const;
+ void raise (Real);
+ void shift (Real);
+ Real distance (Skyline const &) const;
+ Real height (Real airplane) const;
+ Real max_height () const;
+ void set_minimum_height (Real height);
+ bool is_empty () const;