#include <label_collision_detector.hpp>
Public Member Functions | |
| label_collision_detector4 (Envelope< double > const &extent) | |
| bool | has_placement (Envelope< double > const &box) |
| bool | has_placement (Envelope< double > const &box, UnicodeString const &text, double distance) |
| void | insert (Envelope< double > const &box) |
| void | insert (Envelope< double > const &box, UnicodeString const &text) |
| void | clear () |
| Envelope< double > const & | extent () const |
Classes | |
| struct | label |
| mapnik::label_collision_detector4::label_collision_detector4 | ( | Envelope< double > const & | extent | ) | [inline, explicit] |
| bool mapnik::label_collision_detector4::has_placement | ( | Envelope< double > const & | box | ) | [inline] |
References mapnik::quad_tree< T >::query_end(), and mapnik::quad_tree< T >::query_in_box().
Referenced by mapnik::cairo_renderer< T >::process(), and mapnik::agg_renderer< T >::process().
| bool mapnik::label_collision_detector4::has_placement | ( | Envelope< double > const & | box, | |
| UnicodeString const & | text, | |||
| double | distance | |||
| ) | [inline] |
| void mapnik::label_collision_detector4::insert | ( | Envelope< double > const & | box | ) | [inline] |
References mapnik::quad_tree< T >::insert().
Referenced by mapnik::cairo_renderer< T >::process(), and mapnik::agg_renderer< T >::process().
| void mapnik::label_collision_detector4::insert | ( | Envelope< double > const & | box, | |
| UnicodeString const & | text | |||
| ) | [inline] |
References mapnik::quad_tree< T >::insert().
| void mapnik::label_collision_detector4::clear | ( | ) | [inline] |
References mapnik::quad_tree< T >::clear().
Referenced by mapnik::cairo_renderer< T >::start_layer_processing(), and mapnik::agg_renderer< T >::start_layer_processing().
| Envelope<double> const& mapnik::label_collision_detector4::extent | ( | ) | const [inline] |
1.5.6