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

#include <polygon_set_data.hpp>

Public Types

typedef T coordinate_type
 
typedef point_data< Tpoint_type
 
typedef std::pair< point_type,
point_type
edge_type
 
typedef std::pair< edge_type, int > element_type
 
typedef std::vector< element_typevalue_type
 
typedef value_type::const_iterator iterator_type
 
typedef polygon_set_data operator_arg_type
 

Public Member Functions

 polygon_set_data ()
 
template<typename iT >
 polygon_set_data (iT input_begin, iT input_end)
 
 polygon_set_data (const polygon_set_data &that)
 
template<typename ltype , typename rtype , int op_type>
 polygon_set_data (const polygon_set_view< ltype, rtype, op_type > &that)
 
 ~polygon_set_data ()
 
polygon_set_dataoperator= (const polygon_set_data &that)
 
template<typename ltype , typename rtype , int op_type>
polygon_set_dataoperator= (const polygon_set_view< ltype, rtype, op_type > &geometry)
 
template<typename geometry_object >
polygon_set_dataoperator= (const geometry_object &geometry)
 
void insert (iterator_type input_begin, iterator_type input_end, bool is_hole=false)
 
template<typename iT >
void insert (iT input_begin, iT input_end, bool is_hole=false)
 
template<typename geometry_type >
void insert (const geometry_type &geometry_object, bool is_hole=false)
 
template<typename polygon_type >
void insert (const polygon_type &polygon_object, bool is_hole, polygon_concept)
 
void insert (const polygon_set_data &ps, bool is_hole=false)
 
template<typename polygon_45_set_type >
void insert (const polygon_45_set_type &ps, bool is_hole, polygon_45_set_concept)
 
template<typename polygon_90_set_type >
void insert (const polygon_90_set_type &ps, bool is_hole, polygon_90_set_concept)
 
template<typename polygon_type >
void insert (const polygon_type &polygon_object, bool is_hole, polygon_45_concept)
 
template<typename polygon_type >
void insert (const polygon_type &polygon_object, bool is_hole, polygon_90_concept)
 
template<typename polygon_with_holes_type >
void insert (const polygon_with_holes_type &polygon_with_holes_object, bool is_hole, polygon_with_holes_concept)
 
template<typename polygon_with_holes_type >
void insert (const polygon_with_holes_type &polygon_with_holes_object, bool is_hole, polygon_45_with_holes_concept)
 
template<typename polygon_with_holes_type >
void insert (const polygon_with_holes_type &polygon_with_holes_object, bool is_hole, polygon_90_with_holes_concept)
 
template<typename rectangle_type >
void insert (const rectangle_type &rectangle_object, bool is_hole, rectangle_concept)
 
void insert_clean (const element_type &edge, bool is_hole=false)
 
void insert (const element_type &edge, bool is_hole=false)
 
template<class iT >
void insert_vertex_sequence (iT begin_vertex, iT end_vertex, direction_1d winding, bool is_hole)
 
template<typename output_container >
void get (output_container &output) const
 
template<class cT >
void get_trapezoids (cT &container) const
 
template<class cT >
void get_trapezoids (cT &container, orientation_2d slicing_orientation) const
 
bool operator== (const polygon_set_data &p) const
 
bool operator!= (const polygon_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
 
void clean () const
 
void sort () const
 
template<typename input_iterator_type >
void set (input_iterator_type input_begin, input_iterator_type input_end)
 
void set (const value_type &value)
 
template<typename rectangle_type >
bool extents (rectangle_type &rect)
 
polygon_set_dataresize (coordinate_type resizing, bool corner_fill_arc=false, unsigned int num_circle_segments=0)
 
template<typename transform_type >
polygon_set_datatransform (const transform_type &tr)
 
polygon_set_datascale_up (typename coordinate_traits< coordinate_type >::unsigned_area_type factor)
 
polygon_set_datascale_down (typename coordinate_traits< coordinate_type >::unsigned_area_type factor)
 
template<typename scaling_type >
polygon_set_datascale (polygon_set_data &polygon_set, const scaling_type &scaling)
 
polygon_set_databloat (typename coordinate_traits< coordinate_type >::unsigned_area_type distance)
 
polygon_set_datashrink (typename coordinate_traits< coordinate_type >::unsigned_area_type distance)
 
template<typename geometry_type >
polygon_set_datainsert_with_resize (const geometry_type &poly, coordinate_type resizing, bool corner_fill_arc=false, unsigned int num_circle_segments=0, bool hole=false)
 
template<typename geometry_type >
polygon_set_datainsert_with_resize_dispatch (const geometry_type &poly, coordinate_type resizing, bool corner_fill_arc, unsigned int num_circle_segments, bool hole, polygon_with_holes_concept tag)
 
template<typename geometry_type >
polygon_set_datainsert_with_resize_dispatch (const geometry_type &poly, coordinate_type resizing, bool corner_fill_arc, unsigned int num_circle_segments, bool hole, polygon_concept tag)
 
polygon_set_datainteract (const polygon_set_data &that)
 
bool downcast (polygon_45_set_data< coordinate_type > &result) const
 
GEOMETRY_CONCEPT_ID concept_downcast () const
 

Static Public Member Functions

static void compute_offset_edge (point_data< long double > &pt1, point_data< long double > &pt2, const point_data< long double > &prev_pt, const point_data< long double > &current_pt, long double distance, int multiplier)
 
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 distance, coordinate_type multiplier)
 
static void resize_poly_up (std::vector< point_data< coordinate_type > > &poly, coordinate_type distance, coordinate_type multiplier)
 
static bool resize_poly_down (std::vector< point_data< coordinate_type > > &poly, coordinate_type distance, coordinate_type multiplier)
 

Member Typedef Documentation

template<typename T>
typedef T boost::polygon::polygon_set_data< T >::coordinate_type
template<typename T>
typedef std::pair<point_type, point_type> boost::polygon::polygon_set_data< T >::edge_type
template<typename T>
typedef std::pair<edge_type, int> boost::polygon::polygon_set_data< T >::element_type
template<typename T>
typedef value_type::const_iterator boost::polygon::polygon_set_data< T >::iterator_type
template<typename T>
typedef point_data<T> boost::polygon::polygon_set_data< T >::point_type
template<typename T>
typedef std::vector<element_type> boost::polygon::polygon_set_data< T >::value_type

Constructor & Destructor Documentation

template<typename T>
boost::polygon::polygon_set_data< T >::polygon_set_data ( )
inline
template<typename T>
template<typename iT >
boost::polygon::polygon_set_data< T >::polygon_set_data ( iT  input_begin,
iT  input_end 
)
inline
template<typename T>
boost::polygon::polygon_set_data< T >::polygon_set_data ( const polygon_set_data< T > &  that)
inline
template<typename T>
template<typename ltype , typename rtype , int op_type>
boost::polygon::polygon_set_data< T >::polygon_set_data ( const polygon_set_view< ltype, rtype, op_type > &  that)
inline
template<typename T>
boost::polygon::polygon_set_data< T >::~polygon_set_data ( )
inline

Member Function Documentation

template<typename T>
std::size_t boost::polygon::polygon_set_data< T >::capacity ( ) const
inline
template<typename T>
static void boost::polygon::polygon_set_data< T >::compute_offset_edge ( point_data< long double > &  pt1,
point_data< long double > &  pt2,
const point_data< long double > &  prev_pt,
const point_data< long double > &  current_pt,
long double  distance,
int  multiplier 
)
inlinestatic
template<typename T>
bool boost::polygon::polygon_set_data< T >::dirty ( ) const
inline
template<typename T>
bool boost::polygon::polygon_set_data< T >::empty ( void  ) const
inline
template<typename T>
template<typename output_container >
void boost::polygon::polygon_set_data< T >::get ( output_container &  output) const
inline
template<typename T>
template<typename iT >
void boost::polygon::polygon_set_data< T >::insert ( iT  input_begin,
iT  input_end,
bool  is_hole = false 
)
inline
template<typename T>
template<typename geometry_type >
void boost::polygon::polygon_set_data< T >::insert ( const geometry_type &  geometry_object,
bool  is_hole = false 
)
inline
template<typename T>
template<typename polygon_type >
void boost::polygon::polygon_set_data< T >::insert ( const polygon_type &  polygon_object,
bool  is_hole,
polygon_concept   
)
inline
template<typename T>
void boost::polygon::polygon_set_data< T >::insert ( const polygon_set_data< T > &  ps,
bool  is_hole = false 
)
inline
template<typename T>
template<typename polygon_45_set_type >
void boost::polygon::polygon_set_data< T >::insert ( const polygon_45_set_type &  ps,
bool  is_hole,
polygon_45_set_concept   
)
inline
template<typename T>
template<typename polygon_90_set_type >
void boost::polygon::polygon_set_data< T >::insert ( const polygon_90_set_type &  ps,
bool  is_hole,
polygon_90_set_concept   
)
inline
template<typename T>
template<typename polygon_type >
void boost::polygon::polygon_set_data< T >::insert ( const polygon_type &  polygon_object,
bool  is_hole,
polygon_45_concept   
)
inline
template<typename T>
template<typename polygon_type >
void boost::polygon::polygon_set_data< T >::insert ( const polygon_type &  polygon_object,
bool  is_hole,
polygon_90_concept   
)
inline
template<typename T>
template<typename polygon_with_holes_type >
void boost::polygon::polygon_set_data< T >::insert ( const polygon_with_holes_type &  polygon_with_holes_object,
bool  is_hole,
polygon_with_holes_concept   
)
inline
template<typename T>
template<typename polygon_with_holes_type >
void boost::polygon::polygon_set_data< T >::insert ( const polygon_with_holes_type &  polygon_with_holes_object,
bool  is_hole,
polygon_45_with_holes_concept   
)
inline
template<typename T>
template<typename polygon_with_holes_type >
void boost::polygon::polygon_set_data< T >::insert ( const polygon_with_holes_type &  polygon_with_holes_object,
bool  is_hole,
polygon_90_with_holes_concept   
)
inline
template<typename T>
template<typename rectangle_type >
void boost::polygon::polygon_set_data< T >::insert ( const rectangle_type &  rectangle_object,
bool  is_hole,
rectangle_concept   
)
inline
template<typename T>
void boost::polygon::polygon_set_data< T >::insert ( const element_type edge,
bool  is_hole = false 
)
inline
template<typename T>
void boost::polygon::polygon_set_data< T >::insert_clean ( const element_type edge,
bool  is_hole = false 
)
inline
template<typename T>
template<typename geometry_type >
polygon_set_data& boost::polygon::polygon_set_data< T >::insert_with_resize ( const geometry_type &  poly,
coordinate_type  resizing,
bool  corner_fill_arc = false,
unsigned int  num_circle_segments = 0,
bool  hole = false 
)
inline
template<typename T>
template<typename geometry_type >
polygon_set_data& boost::polygon::polygon_set_data< T >::insert_with_resize_dispatch ( const geometry_type &  poly,
coordinate_type  resizing,
bool  corner_fill_arc,
unsigned int  num_circle_segments,
bool  hole,
polygon_with_holes_concept  tag 
)
inline
template<typename T>
bool boost::polygon::polygon_set_data< T >::operator!= ( const polygon_set_data< T > &  p) const
inline
template<typename T>
polygon_set_data& boost::polygon::polygon_set_data< T >::operator= ( const polygon_set_data< T > &  that)
inline
template<typename T>
template<typename ltype , typename rtype , int op_type>
polygon_set_data& boost::polygon::polygon_set_data< T >::operator= ( const polygon_set_view< ltype, rtype, op_type > &  geometry)
inline
template<typename T>
template<typename geometry_object >
polygon_set_data& boost::polygon::polygon_set_data< T >::operator= ( const geometry_object &  geometry)
inline
template<typename T>
bool boost::polygon::polygon_set_data< T >::operator== ( const polygon_set_data< T > &  p) const
inline
template<typename T>
polygon_set_data& boost::polygon::polygon_set_data< T >::resize ( coordinate_type  resizing,
bool  corner_fill_arc = false,
unsigned int  num_circle_segments = 0 
)
inline

Referenced by boost::polygon::resize().

template<typename T>
template<typename scaling_type >
polygon_set_data& boost::polygon::polygon_set_data< T >::scale ( polygon_set_data< T > &  polygon_set,
const scaling_type &  scaling 
)
inline
template<typename T>
polygon_set_data& boost::polygon::polygon_set_data< T >::scale_down ( typename coordinate_traits< coordinate_type >::unsigned_area_type  factor)
inline
template<typename T>
polygon_set_data& boost::polygon::polygon_set_data< T >::scale_up ( typename coordinate_traits< coordinate_type >::unsigned_area_type  factor)
inline
template<typename T>
template<typename input_iterator_type >
void boost::polygon::polygon_set_data< T >::set ( input_iterator_type  input_begin,
input_iterator_type  input_end 
)
inline
template<typename T>
void boost::polygon::polygon_set_data< T >::set ( const value_type value)
inline
template<typename T>
std::size_t boost::polygon::polygon_set_data< T >::size ( void  ) const
inline
template<typename T>
bool boost::polygon::polygon_set_data< T >::sorted ( ) const
inline
template<typename T>
const value_type& boost::polygon::polygon_set_data< T >::value ( ) const
inline

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