]> 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 void
24 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> extents, Axis a, Direction d);
28 Real
29 skyline_meshing_distance (Array<Skyline_entry> buildings,
30                           Array<Skyline_entry> clouds);
31
32
33 #endif /* SKYLINE_HH */
34