mapnik::polygon< T, Container > Class Template Reference

#include <geometry.hpp>

Inheritance diagram for mapnik::polygon< T, Container >:

mapnik::geometry< T > noncopyable

List of all members.

Public Member Functions

 polygon ()
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) const
void set_capacity (size_t size)
virtual ~polygon ()

template<typename T, template< typename > class Container = vertex_vector2>
class mapnik::polygon< T, Container >


Constructor & Destructor Documentation

template<typename T , template< typename > class Container = vertex_vector2>
mapnik::polygon< T, Container >::polygon (  )  [inline]

template<typename T , template< typename > class Container = vertex_vector2>
virtual mapnik::polygon< T, Container >::~polygon (  )  [inline, virtual]


Member Function Documentation

template<typename T , template< typename > class Container = vertex_vector2>
bool mapnik::polygon< T, Container >::hit_test ( value_type  x,
value_type  y,
double   
) const [inline]

template<typename T , template< typename > class Container = vertex_vector2>
void mapnik::polygon< T, Container >::label_position ( double *  x,
double *  y 
) const [inline, virtual]

Implements mapnik::geometry< T >.

template<typename T , template< typename > class Container = vertex_vector2>
void mapnik::polygon< T, Container >::line_to ( value_type  x,
value_type  y 
) [inline]

References mapnik::SEG_LINETO.

template<typename T , template< typename > class Container = vertex_vector2>
void mapnik::polygon< T, Container >::move_to ( value_type  x,
value_type  y 
) [inline]

References mapnik::SEG_MOVETO.

template<typename T , template< typename > class Container = vertex_vector2>
unsigned mapnik::polygon< T, Container >::num_points (  )  const [inline, virtual]

Implements mapnik::geometry< T >.

template<typename T , template< typename > class Container = vertex_vector2>
void mapnik::polygon< T, Container >::rewind ( unsigned   )  const [inline, virtual]

Implements mapnik::geometry< T >.

template<typename T , template< typename > class Container = vertex_vector2>
void mapnik::polygon< T, Container >::set_capacity ( size_t  size  )  [inline, virtual]

Implements mapnik::geometry< T >.

template<typename T , template< typename > class Container = vertex_vector2>
int mapnik::polygon< T, Container >::type (  )  const [inline, virtual]

Implements mapnik::geometry< T >.

References mapnik::Polygon.

template<typename T , template< typename > class Container = vertex_vector2>
unsigned mapnik::polygon< T, Container >::vertex ( double *  x,
double *  y 
) const [inline, virtual]

Implements mapnik::geometry< T >.


The documentation for this class was generated from the following file:

Generated for Mapnik by doxygen 1.5.8