2 skyline-pair.hh -- declare Skyline_pair
4 source file of the GNU LilyPond music typesetter
6 (c) 2008--2009 Han-Wen Nienhuys <hanwen@lilypond.org>
10 #ifndef SKYLINE_PAIR_HH
11 #define SKYLINE_PAIR_HH
18 Drul_array<Skyline> skylines_;
20 DECLARE_SIMPLE_SMOBS(Skyline_pair);
23 Skyline_pair (vector<Box> const &boxes, Real horizon_padding, Axis a);
24 Skyline_pair (Box const &, Real horizon_padding, Axis a);
27 void insert (Box const &, Real horizon_padding, Axis);
28 void merge (Skyline_pair const &other);
29 Skyline &operator [] (Direction d);
30 Skyline const &operator [] (Direction d) const;
31 bool is_empty () const;
33 void print_points () const;
36 #endif /* SKYLINE_PAIR_HH */