]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/skyline.hh
''
[lilypond.git] / lily / include / skyline.hh
1 /*   
2   skyline.hh -- declare Skyline_entry and funcbs.
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9 #ifndef SKYLINE_HH
10 #define SKYLINE_HH
11
12 #include "array.hh"
13 #include "box.hh"
14
15 struct Skyline_entry
16 {
17   Interval width_;
18   Real height_;
19   Skyline_entry();
20   Skyline_entry (Interval, Real);
21 };
22
23
24 void insert_extent_into_skyline (Array<Skyline_entry> *line, Box b, Axis line_axis,
25                                  Direction d);
26 Array<Skyline_entry>
27 extents_to_skyline (Array<Box> const & extents, Axis a, Direction d);
28 Array<Skyline_entry> empty_skyline (Direction d);
29 Real
30 skyline_meshing_distance (Array<Skyline_entry> const &buildings,
31                           Array<Skyline_entry> const &clouds);
32
33
34 #endif /* SKYLINE_HH */
35