#include <geometry.hpp>
Inheritance diagram for mapnik::geometry< T >:
Public Types | |
typedef T | vertex_type |
typedef vertex_type::type | value_type |
Public Member Functions | |
geometry (int srid=-1) | |
int | srid () const |
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)=0 |
virtual void | rewind (unsigned)=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 | ( | int | srid = -1 |
) | [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] |
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 >.
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 >.
virtual void mapnik::geometry< T >::rewind | ( | unsigned | ) | [pure virtual] |
Implemented in mapnik::point< T >, mapnik::polygon< T, Container >, and mapnik::line_string< T, Container >.
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 >.
int mapnik::geometry< T >::srid | ( | ) | const [inline] |
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 | |||
) | [pure virtual] |
Implemented in mapnik::point< T >, mapnik::polygon< T, Container >, and mapnik::line_string< T, Container >.