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_90_set_data< T > Class Template Reference

#include <polygon_90_set_data.hpp>

Public Types

typedef T coordinate_type
 
typedef std::vector< std::pair
< coordinate_type, std::pair
< coordinate_type, int > > > 
value_type
 
typedef std::vector< std::pair
< coordinate_type, std::pair
< coordinate_type, int >
> >::const_iterator 
iterator_type
 
typedef polygon_90_set_data operator_arg_type
 

Public Member Functions

 polygon_90_set_data ()
 
 polygon_90_set_data (orientation_2d orient)
 
template<typename iT >
 polygon_90_set_data (orientation_2d orient, iT input_begin, iT input_end)
 
 polygon_90_set_data (const polygon_90_set_data &that)
 
template<typename ltype , typename rtype , typename op_type >
 polygon_90_set_data (const polygon_90_set_view< ltype, rtype, op_type > &that)
 
 polygon_90_set_data (orientation_2d orient, const polygon_90_set_data &that)
 
 ~polygon_90_set_data ()
 
polygon_90_set_dataoperator= (const polygon_90_set_data &that)
 
template<typename ltype , typename rtype , typename op_type >
polygon_90_set_dataoperator= (const polygon_90_set_view< ltype, rtype, op_type > &that)
 
template<typename geometry_object >
polygon_90_set_dataoperator= (const geometry_object &geometry)
 
void insert (iterator_type input_begin, iterator_type input_end, orientation_2d orient=HORIZONTAL)
 
template<typename iT >
void insert (iT input_begin, iT input_end, orientation_2d orient=HORIZONTAL)
 
void insert (const polygon_90_set_data &polygon_set)
 
void insert (const std::pair< std::pair< point_data< coordinate_type >, point_data< coordinate_type > >, int > &edge, bool is_hole=false, orientation_2d orient=HORIZONTAL)
 
template<typename geometry_type >
void insert (const geometry_type &geometry_object, bool is_hole=false, orientation_2d=HORIZONTAL)
 
void insert (const std::pair< coordinate_type, std::pair< coordinate_type, int > > &vertex, bool is_hole=false, orientation_2d orient=HORIZONTAL)
 
void insert (coordinate_type major_coordinate, const std::pair< interval_data< coordinate_type >, int > &edge)
 
template<typename output_container >
void get (output_container &output) const
 
template<typename output_container >
void get (output_container &output, size_t vthreshold) const
 
template<typename output_container >
void get_polygons (output_container &output) const
 
template<typename output_container >
void get_rectangles (output_container &output) const
 
template<typename output_container >
void get_rectangles (output_container &output, orientation_2d slicing_orientation) const
 
bool operator== (const polygon_90_set_data &p) const
 
bool operator!= (const polygon_90_set_data &p) const
 
iterator_type begin () const
 
iterator_type end () const
 
const value_typevalue () const
 
void clear ()
 
bool empty () const
 
std::size_t size () const
 
std::size_t capacity () const
 
void reserve (std::size_t size)
 
bool sorted () const
 
bool dirty () const
 
orientation_2d orient () const
 
void clean () const
 
void sort () const
 
template<typename input_iterator_type >
void set (input_iterator_type input_begin, input_iterator_type input_end, orientation_2d orient)
 
void set (const value_type &value, orientation_2d orient)
 
template<typename rectangle_type >
bool extents (rectangle_type &extents_rectangle) const
 
polygon_90_set_databloat2 (typename coordinate_traits< coordinate_type >::unsigned_area_type west_bloating, typename coordinate_traits< coordinate_type >::unsigned_area_type east_bloating, typename coordinate_traits< coordinate_type >::unsigned_area_type south_bloating, typename coordinate_traits< coordinate_type >::unsigned_area_type north_bloating)
 
polygon_90_set_databloat (typename coordinate_traits< coordinate_type >::unsigned_area_type west_bloating, typename coordinate_traits< coordinate_type >::unsigned_area_type east_bloating, typename coordinate_traits< coordinate_type >::unsigned_area_type south_bloating, typename coordinate_traits< coordinate_type >::unsigned_area_type north_bloating)
 
polygon_90_set_datashrink (typename coordinate_traits< coordinate_type >::unsigned_area_type west_shrinking, typename coordinate_traits< coordinate_type >::unsigned_area_type east_shrinking, typename coordinate_traits< coordinate_type >::unsigned_area_type south_shrinking, typename coordinate_traits< coordinate_type >::unsigned_area_type north_shrinking)
 
polygon_90_set_datashrink2 (typename coordinate_traits< coordinate_type >::unsigned_area_type west_shrinking, typename coordinate_traits< coordinate_type >::unsigned_area_type east_shrinking, typename coordinate_traits< coordinate_type >::unsigned_area_type south_shrinking, typename coordinate_traits< coordinate_type >::unsigned_area_type north_shrinking)
 
polygon_90_set_datashrink (direction_2d dir, typename coordinate_traits< coordinate_type >::unsigned_area_type shrinking)
 
polygon_90_set_databloat (direction_2d dir, typename coordinate_traits< coordinate_type >::unsigned_area_type shrinking)
 
polygon_90_set_dataresize (coordinate_type west, coordinate_type east, coordinate_type south, coordinate_type north)
 
polygon_90_set_datamove (coordinate_type x_delta, coordinate_type y_delta)
 
template<typename transformation_type >
polygon_90_set_datatransform (const transformation_type &transformation)
 
polygon_90_set_datascale_up (typename coordinate_traits< coordinate_type >::unsigned_area_type factor)
 
polygon_90_set_datascale_down (typename coordinate_traits< coordinate_type >::unsigned_area_type factor)
 
template<typename scaling_type >
polygon_90_set_datascale (const anisotropic_scale_factor< scaling_type > &scaling)
 
template<typename scaling_type >
polygon_90_set_datascale_with (const scaling_type &scaling)
 
polygon_90_set_datascale (double factor)
 
polygon_90_set_dataself_xor ()
 
polygon_90_set_dataself_intersect ()
 
polygon_90_set_datainteract (const polygon_90_set_data &that)
 
template<class T2 , typename iterator_type_1 , typename iterator_type_2 >
void applyBooleanBinaryOp (iterator_type_1 itr1, iterator_type_1 itr1_end, iterator_type_2 itr2, iterator_type_2 itr2_end, T2 defaultCount)
 

Static Public Member Functions

static void modify_pt (point_data< coordinate_type > &pt, const point_data< coordinate_type > &prev_pt, const point_data< coordinate_type > &current_pt, const point_data< coordinate_type > &next_pt, coordinate_type west_bloating, coordinate_type east_bloating, coordinate_type south_bloating, coordinate_type north_bloating)
 
static void resize_poly_up (std::vector< point_data< coordinate_type > > &poly, coordinate_type west_bloating, coordinate_type east_bloating, coordinate_type south_bloating, coordinate_type north_bloating)
 
static bool resize_poly_down (std::vector< point_data< coordinate_type > > &poly, coordinate_type west_shrinking, coordinate_type east_shrinking, coordinate_type south_shrinking, coordinate_type north_shrinking)
 
static bool remove_colinear_pts (std::vector< point_data< coordinate_type > > &poly)
 

Member Typedef Documentation

template<typename T>
typedef T boost::polygon::polygon_90_set_data< T >::coordinate_type
template<typename T>
typedef std::vector<std::pair<coordinate_type, std::pair<coordinate_type, int> > >::const_iterator boost::polygon::polygon_90_set_data< T >::iterator_type
template<typename T>
typedef std::vector<std::pair<coordinate_type, std::pair<coordinate_type, int> > > boost::polygon::polygon_90_set_data< T >::value_type

Constructor & Destructor Documentation

template<typename T>
boost::polygon::polygon_90_set_data< T >::polygon_90_set_data ( )
inline
template<typename T>
boost::polygon::polygon_90_set_data< T >::polygon_90_set_data ( orientation_2d  orient)
inline
template<typename T>
template<typename iT >
boost::polygon::polygon_90_set_data< T >::polygon_90_set_data ( orientation_2d  orient,
iT  input_begin,
iT  input_end 
)
inline
template<typename T>
boost::polygon::polygon_90_set_data< T >::polygon_90_set_data ( const polygon_90_set_data< T > &  that)
inline
template<typename T>
template<typename ltype , typename rtype , typename op_type >
boost::polygon::polygon_90_set_data< T >::polygon_90_set_data ( const polygon_90_set_view< ltype, rtype, op_type > &  that)
inline
template<typename T>
boost::polygon::polygon_90_set_data< T >::~polygon_90_set_data ( )
inline

Member Function Documentation

template<typename T>
template<class T2 , typename iterator_type_1 , typename iterator_type_2 >
void boost::polygon::polygon_90_set_data< T >::applyBooleanBinaryOp ( iterator_type_1  itr1,
iterator_type_1  itr1_end,
iterator_type_2  itr2,
iterator_type_2  itr2_end,
T2  defaultCount 
)
inline
template<typename T>
polygon_90_set_data& boost::polygon::polygon_90_set_data< T >::bloat2 ( typename coordinate_traits< coordinate_type >::unsigned_area_type  west_bloating,
typename coordinate_traits< coordinate_type >::unsigned_area_type  east_bloating,
typename coordinate_traits< coordinate_type >::unsigned_area_type  south_bloating,
typename coordinate_traits< coordinate_type >::unsigned_area_type  north_bloating 
)
inline
template<typename T>
std::size_t boost::polygon::polygon_90_set_data< T >::capacity ( ) const
inline
template<typename T>
bool boost::polygon::polygon_90_set_data< T >::dirty ( ) const
inline
template<typename T>
bool boost::polygon::polygon_90_set_data< T >::empty ( void  ) const
inline
template<typename T>
template<typename output_container >
void boost::polygon::polygon_90_set_data< T >::get ( output_container &  output) const
inline
template<typename T>
template<typename output_container >
void boost::polygon::polygon_90_set_data< T >::get ( output_container &  output,
size_t  vthreshold 
) const
inline
template<typename T>
template<typename output_container >
void boost::polygon::polygon_90_set_data< T >::get_polygons ( output_container &  output) const
inline
template<typename T>
template<typename output_container >
void boost::polygon::polygon_90_set_data< T >::get_rectangles ( output_container &  output) const
inline
template<typename T>
template<typename output_container >
void boost::polygon::polygon_90_set_data< T >::get_rectangles ( output_container &  output,
orientation_2d  slicing_orientation 
) const
inline
template<typename T>
template<typename iT >
void boost::polygon::polygon_90_set_data< T >::insert ( iT  input_begin,
iT  input_end,
orientation_2d  orient = HORIZONTAL 
)
inline
template<typename T>
void boost::polygon::polygon_90_set_data< T >::insert ( const std::pair< std::pair< point_data< coordinate_type >, point_data< coordinate_type > >, int > &  edge,
bool  is_hole = false,
orientation_2d  orient = HORIZONTAL 
)
inline
template<typename T>
template<typename geometry_type >
void boost::polygon::polygon_90_set_data< T >::insert ( const geometry_type &  geometry_object,
bool  is_hole = false,
orientation_2d  = HORIZONTAL 
)
inline
template<typename T>
void boost::polygon::polygon_90_set_data< T >::insert ( const std::pair< coordinate_type, std::pair< coordinate_type, int > > &  vertex,
bool  is_hole = false,
orientation_2d  orient = HORIZONTAL 
)
inline
template<typename T>
void boost::polygon::polygon_90_set_data< T >::insert ( coordinate_type  major_coordinate,
const std::pair< interval_data< coordinate_type >, int > &  edge 
)
inline
template<typename T>
static void boost::polygon::polygon_90_set_data< T >::modify_pt ( point_data< coordinate_type > &  pt,
const point_data< coordinate_type > &  prev_pt,
const point_data< coordinate_type > &  current_pt,
const point_data< coordinate_type > &  next_pt,
coordinate_type  west_bloating,
coordinate_type  east_bloating,
coordinate_type  south_bloating,
coordinate_type  north_bloating 
)
inlinestatic
template<typename T>
polygon_90_set_data& boost::polygon::polygon_90_set_data< T >::move ( coordinate_type  x_delta,
coordinate_type  y_delta 
)
inline
template<typename T>
bool boost::polygon::polygon_90_set_data< T >::operator!= ( const polygon_90_set_data< T > &  p) const
inline
template<typename T>
polygon_90_set_data& boost::polygon::polygon_90_set_data< T >::operator= ( const polygon_90_set_data< T > &  that)
inline
template<typename T>
template<typename ltype , typename rtype , typename op_type >
polygon_90_set_data& boost::polygon::polygon_90_set_data< T >::operator= ( const polygon_90_set_view< ltype, rtype, op_type > &  that)
inline
template<typename T>
template<typename geometry_object >
polygon_90_set_data& boost::polygon::polygon_90_set_data< T >::operator= ( const geometry_object &  geometry)
inline
template<typename T>
static bool boost::polygon::polygon_90_set_data< T >::remove_colinear_pts ( std::vector< point_data< coordinate_type > > &  poly)
inlinestatic
template<typename T>
polygon_90_set_data& boost::polygon::polygon_90_set_data< T >::scale ( double  factor)
inline
template<typename T>
polygon_90_set_data& boost::polygon::polygon_90_set_data< T >::scale_down ( typename coordinate_traits< coordinate_type >::unsigned_area_type  factor)
inline
template<typename T>
polygon_90_set_data& boost::polygon::polygon_90_set_data< T >::scale_up ( typename coordinate_traits< coordinate_type >::unsigned_area_type  factor)
inline
template<typename T>
template<typename scaling_type >
polygon_90_set_data& boost::polygon::polygon_90_set_data< T >::scale_with ( const scaling_type &  scaling)
inline
template<typename T>
template<typename input_iterator_type >
void boost::polygon::polygon_90_set_data< T >::set ( input_iterator_type  input_begin,
input_iterator_type  input_end,
orientation_2d  orient 
)
inline
template<typename T>
std::size_t boost::polygon::polygon_90_set_data< T >::size ( void  ) const
inline
template<typename T>
bool boost::polygon::polygon_90_set_data< T >::sorted ( ) const
inline
template<typename T>
template<typename transformation_type >
polygon_90_set_data& boost::polygon::polygon_90_set_data< T >::transform ( const transformation_type &  transformation)
inline
template<typename T>
const value_type& boost::polygon::polygon_90_set_data< T >::value ( ) const
inline

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