#include <geometry.hpp>
Public Types | |
typedef T | vertex_type |
typedef vertex_type::type | value_type |
Public Member Functions | |
geometry () | |
Envelope< double > | envelope () |
virtual int | type () const =0 |
virtual bool | hit_test (value_type x, value_type y, double tol) const =0 |
virtual void | label_position (double *x, double *y) const =0 |
virtual void | move_to (value_type x, value_type y)=0 |
virtual void | line_to (value_type x, value_type y)=0 |
virtual unsigned | num_points () const =0 |
virtual unsigned | vertex (double *x, double *y) const =0 |
virtual void | rewind (unsigned) const =0 |
virtual void | set_capacity (size_t size)=0 |
virtual | ~geometry () |
typedef vertex_type::type mapnik::geometry< T >::value_type |
typedef T mapnik::geometry< T >::vertex_type |
mapnik::geometry< T >::geometry | ( | ) | [inline] |
virtual mapnik::geometry< T >::~geometry | ( | ) | [inline, virtual] |
Envelope<double> mapnik::geometry< T >::envelope | ( | ) | [inline] |
virtual bool mapnik::geometry< T >::hit_test | ( | value_type | x, | |
value_type | y, | |||
double | tol | |||
) | const [pure virtual] |
Referenced by mapnik::hit_test_filter::pass().
virtual void mapnik::geometry< T >::label_position | ( | double * | x, | |
double * | y | |||
) | const [pure virtual] |
Implemented in mapnik::point< T >, mapnik::polygon< T, Container >, and mapnik::line_string< T, Container >.
Referenced by mapnik::cairo_renderer< T >::process(), and mapnik::agg_renderer< T >::process().
virtual void mapnik::geometry< T >::line_to | ( | value_type | x, | |
value_type | y | |||
) | [pure virtual] |
virtual void mapnik::geometry< T >::move_to | ( | value_type | x, | |
value_type | y | |||
) | [pure virtual] |
virtual unsigned mapnik::geometry< T >::num_points | ( | ) | const [pure virtual] |
Implemented in mapnik::point< T >, mapnik::polygon< T, Container >, and mapnik::line_string< T, Container >.
Referenced by mapnik::geometry< T >::envelope(), mapnik::cairo_renderer< T >::process(), and mapnik::agg_renderer< T >::process().
virtual void mapnik::geometry< T >::rewind | ( | unsigned | ) | const [pure virtual] |
Implemented in mapnik::point< T >, mapnik::polygon< T, Container >, and mapnik::line_string< T, Container >.
Referenced by mapnik::geometry< T >::envelope(), mapnik::cairo_renderer< T >::process(), and mapnik::agg_renderer< T >::process().
virtual void mapnik::geometry< T >::set_capacity | ( | size_t | size | ) | [pure virtual] |
Implemented in mapnik::point< T >, mapnik::polygon< T, Container >, and mapnik::line_string< T, Container >.
virtual int mapnik::geometry< T >::type | ( | ) | const [pure virtual] |
Implemented in mapnik::point< T >, mapnik::polygon< T, Container >, and mapnik::line_string< T, Container >.
virtual unsigned mapnik::geometry< T >::vertex | ( | double * | x, | |
double * | y | |||
) | const [pure virtual] |
Implemented in mapnik::point< T >, mapnik::polygon< T, Container >, and mapnik::line_string< T, Container >.
Referenced by mapnik::geometry< T >::envelope(), mapnik::cairo_renderer< T >::process(), and mapnik::agg_renderer< T >::process().