Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::polygon::view_of< polygon_concept, T > Struct Template Reference

#include <polygon_traits.hpp>

Public Types

typedef polygon_traits< T >
::coordinate_type 
coordinate_type
 
typedef polygon_traits< T >
::iterator_type 
iterator_type
 
typedef polygon_traits< T >
::point_type 
point_type
 

Public Member Functions

 view_of (const T &obj)
 
iterator_type begin () const
 Get the begin iterator. More...
 
iterator_type end () const
 Get the end iterator. More...
 
std::size_t size () const
 Get the number of sides of the polygon. More...
 
winding_direction winding () const
 Get the winding direction of the polygon. More...
 

Public Attributes

const Tt
 

Member Typedef Documentation

Constructor & Destructor Documentation

template<typename T >
boost::polygon::view_of< polygon_concept, T >::view_of ( const T obj)
inline

Member Function Documentation

template<typename T >
iterator_type boost::polygon::view_of< polygon_concept, T >::begin ( void  ) const
inline

Get the begin iterator.

References boost::polygon::begin_points().

template<typename T >
iterator_type boost::polygon::view_of< polygon_concept, T >::end ( void  ) const
inline

Get the end iterator.

References boost::polygon::end_points().

template<typename T >
std::size_t boost::polygon::view_of< polygon_concept, T >::size ( void  ) const
inline

Get the number of sides of the polygon.

References boost::polygon::size().

template<typename T >
winding_direction boost::polygon::view_of< polygon_concept, T >::winding ( ) const
inline

Get the winding direction of the polygon.

References boost::polygon::winding().

Member Data Documentation

template<typename T >
const T* boost::polygon::view_of< polygon_concept, T >::t

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