#include <geometry.hpp>
Public Member Functions | |
line_string () | |
int | type () const |
void | label_position (double *x, double *y) const |
void | line_to (value_type x, value_type y) |
void | move_to (value_type x, value_type y) |
unsigned | num_points () const |
unsigned | vertex (double *x, double *y) const |
void | rewind (unsigned) const |
bool | hit_test (value_type x, value_type y, double tol) const |
void | set_capacity (size_t size) |
virtual | ~line_string () |
mapnik::line_string< T, Container >::line_string | ( | ) | [inline] |
virtual mapnik::line_string< T, Container >::~line_string | ( | ) | [inline, virtual] |
int mapnik::line_string< T, Container >::type | ( | ) | const [inline, virtual] |
void mapnik::line_string< T, Container >::label_position | ( | double * | x, | |
double * | y | |||
) | const [inline, virtual] |
Implements mapnik::geometry< T >.
void mapnik::line_string< T, Container >::line_to | ( | value_type | x, | |
value_type | y | |||
) | [inline] |
References mapnik::SEG_LINETO.
void mapnik::line_string< T, Container >::move_to | ( | value_type | x, | |
value_type | y | |||
) | [inline] |
References mapnik::SEG_MOVETO.
unsigned mapnik::line_string< T, Container >::num_points | ( | ) | const [inline, virtual] |
Implements mapnik::geometry< T >.
unsigned mapnik::line_string< T, Container >::vertex | ( | double * | x, | |
double * | y | |||
) | const [inline, virtual] |
Implements mapnik::geometry< T >.
void mapnik::line_string< T, Container >::rewind | ( | unsigned | ) | const [inline, virtual] |
Implements mapnik::geometry< T >.
bool mapnik::line_string< T, Container >::hit_test | ( | value_type | x, | |
value_type | y, | |||
double | tol | |||
) | const [inline] |
References mapnik::point_on_path().
void mapnik::line_string< T, Container >::set_capacity | ( | size_t | size | ) | [inline, virtual] |
Implements mapnik::geometry< T >.