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

#include <polygon_traits.hpp>

Related Functions

(Note that these are not member functions.)

template<typename T , typename iT >
enable_if< typename
is_any_mutable_polygon_type< T >
::type, T >::type
set_points (T &t, iT begin_points, iT end_points)
 
template<typename T >
enable_if< typename gtl_if
< typename
is_polygon_with_holes_type< T >
::type >::type, typename
polygon_traits< T >
::iterator_type >::type 
begin_points (const T &polygon)
 
template<typename T >
enable_if< typename gtl_if
< typename
is_polygon_with_holes_type< T >
::type >::type, typename
polygon_traits< T >
::iterator_type >::type 
end_points (const T &polygon)
 
template<typename T >
enable_if< typename
is_polygon_with_holes_type< T >
::type, std::size_t >::type 
size (const T &polygon)
 
template<typename polygon_type , typename point_type >
enable_if< typename gtl_and
< typename gtl_or< typename
is_mutable_polygon_45_type
< polygon_type >::type,
typename
is_mutable_polygon_type
< polygon_type >::type >::type,
typename is_point_concept
< typename geometry_concept
< point_type >::type >::type >
::type, polygon_type >::type
convolve (polygon_type &polygon, const point_type &point)
 
template<typename T >
enable_if< typename
is_any_mutable_polygon_type< T >
::type, T >::type
move (T &polygon, orientation_2d orient, typename polygon_traits< T >::coordinate_type displacement)
 
template<typename polygon_type , typename transform_type >
enable_if< typename
is_any_mutable_polygon_without_holes_type
< polygon_type >::type,
polygon_type >::type
transform (polygon_type &polygon, const transform_type &tr)
 Applies a transformation to the polygon. More...
 

Friends And Related Function Documentation

template<typename T >
enable_if< typename gtl_if< typename is_polygon_with_holes_type< T >::type >::type, typename polygon_traits< T >::iterator_type >::type begin_points ( const T polygon)
related
template<typename polygon_type , typename point_type >
enable_if< typename gtl_and< typename gtl_or< typename is_mutable_polygon_45_type< polygon_type >::type, typename is_mutable_polygon_type< polygon_type >::type >::type, typename is_point_concept< typename geometry_concept< point_type >::type >::type >::type, polygon_type >::type & convolve ( polygon_type &  polygon,
const point_type &  point 
)
related
template<typename T >
enable_if< typename gtl_if< typename is_polygon_with_holes_type< T >::type >::type, typename polygon_traits< T >::iterator_type >::type end_points ( const T polygon)
related
template<typename T >
enable_if< typename is_any_mutable_polygon_type< T >::type, T >::type & move ( T polygon,
orientation_2d  orient,
typename polygon_traits< T >::coordinate_type  displacement 
)
related
template<typename T , typename iT >
enable_if< typename is_any_mutable_polygon_type< T >::type, T >::type & set_points ( T t,
iT  begin_points,
iT  end_points 
)
related
template<typename T >
enable_if< typename is_polygon_with_holes_type< T >::type, std::size_t >::type size ( const T polygon)
related

Referenced by print_table().

template<typename polygon_type , typename transform_type >
enable_if< typename is_any_mutable_polygon_without_holes_type< polygon_type >::type, polygon_type >::type & transform ( polygon_type &  polygon,
const transform_type &  tr 
)
related

Applies a transformation to the polygon.

Template Parameters
polygon_typeA type that models polygon_concept
transform_typeA type that may be either axis_transformation or transformation or that overloads point_concept::transform
Parameters
polygonThe polygon to transform
trThe transformation to apply

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