#include <polygon_set_data.hpp>
Public Types | |
typedef T | coordinate_type |
typedef point_data< T > | point_type |
typedef std::pair< point_type, point_type > | edge_type |
typedef std::pair< edge_type, int > | element_type |
typedef std::vector< element_type > | value_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_data & | operator= (const polygon_set_data &that) |
template<typename ltype , typename rtype , int op_type> | |
polygon_set_data & | operator= (const polygon_set_view< ltype, rtype, op_type > &geometry) |
template<typename geometry_object > | |
polygon_set_data & | operator= (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_type & | value () 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_data & | resize (coordinate_type resizing, bool corner_fill_arc=false, unsigned int num_circle_segments=0) |
template<typename transform_type > | |
polygon_set_data & | transform (const transform_type &tr) |
polygon_set_data & | scale_up (typename coordinate_traits< coordinate_type >::unsigned_area_type factor) |
polygon_set_data & | scale_down (typename coordinate_traits< coordinate_type >::unsigned_area_type factor) |
template<typename scaling_type > | |
polygon_set_data & | scale (polygon_set_data &polygon_set, const scaling_type &scaling) |
polygon_set_data & | bloat (typename coordinate_traits< coordinate_type >::unsigned_area_type distance) |
polygon_set_data & | shrink (typename coordinate_traits< coordinate_type >::unsigned_area_type distance) |
template<typename geometry_type > | |
polygon_set_data & | insert_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_data & | 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) |
template<typename geometry_type > | |
polygon_set_data & | insert_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_data & | interact (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 > ¤t_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 > ¤t_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) |
typedef T boost::polygon::polygon_set_data< T >::coordinate_type |
typedef std::pair<point_type, point_type> boost::polygon::polygon_set_data< T >::edge_type |
typedef std::pair<edge_type, int> boost::polygon::polygon_set_data< T >::element_type |
typedef value_type::const_iterator boost::polygon::polygon_set_data< T >::iterator_type |
typedef polygon_set_data boost::polygon::polygon_set_data< T >::operator_arg_type |
typedef point_data<T> boost::polygon::polygon_set_data< T >::point_type |
typedef std::vector<element_type> boost::polygon::polygon_set_data< T >::value_type |
|
inline |
|
inline |
References boost::polygon::polygon_set_data< T >::insert().
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by boost::polygon::assign(), boost::polygon::polygon_set_traits< polygon_set_data< T > >::begin(), boost::polygon::polygon_set_data< T >::concept_downcast(), boost::polygon::polygon_set_data< T >::downcast(), boost::polygon::polygon_set_data< T >::extents(), boost::polygon::connectivity_extraction< coordinate_type >::insert(), boost::polygon::polygon_set_data< T >::insert_with_resize_dispatch(), and boost::polygon::polygon_set_data< T >::scale().
|
inline |
References boost::polygon::polygon_data< T >::begin(), boost::polygon::polygon_set_data< T >::clear(), boost::polygon::CLOCKWISE, boost::polygon::COUNTERCLOCKWISE, boost::polygon::polygon_set_data< T >::insert_vertex_sequence(), boost::polygon::polygon_set_data< T >::resize_poly_down(), and boost::polygon::polygon_set_data< T >::resize_poly_up().
|
inline |
void boost::polygon::polygon_set_data< T >::clean | ( | ) | const |
Referenced by boost::polygon::assign(), boost::polygon::polygon_set_traits< polygon_set_data< T > >::clean(), boost::polygon::empty(), boost::polygon::polygon_set_data< T >::extents(), boost::polygon::polygon_set_data< T >::get_trapezoids(), boost::polygon::connectivity_extraction< coordinate_type >::insert(), and boost::polygon::polygon_set_data< T >::size().
|
inline |
|
inlinestatic |
|
inline |
References boost::polygon::polygon_set_data< T >::begin(), boost::polygon::polygon_set_data< T >::end(), boost::polygon::euclidean_distance(), boost::polygon::HORIZONTAL, boost::polygon::is_45(), boost::polygon::POLYGON_45_SET_CONCEPT, boost::polygon::POLYGON_90_SET_CONCEPT, boost::polygon::POLYGON_SET_CONCEPT, and boost::polygon::VERTICAL.
|
inline |
|
inline |
|
inline |
Referenced by boost::polygon::empty(), and boost::polygon::polygon_set_data< T >::extents().
|
inline |
Referenced by boost::polygon::assign(), boost::polygon::polygon_set_data< T >::concept_downcast(), boost::polygon::polygon_set_data< T >::downcast(), boost::polygon::polygon_set_traits< polygon_set_data< T > >::end(), boost::polygon::polygon_set_data< T >::extents(), boost::polygon::connectivity_extraction< coordinate_type >::insert(), boost::polygon::polygon_set_data< T >::insert_with_resize_dispatch(), and boost::polygon::polygon_set_data< T >::scale().
|
inline |
References boost::polygon::polygon_set_data< T >::begin(), boost::polygon::polygon_set_data< T >::clean(), boost::polygon::polygon_set_data< T >::empty(), boost::polygon::encompass(), boost::polygon::polygon_set_data< T >::end(), and boost::polygon::set_points().
Referenced by boost::polygon::extents().
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by boost::polygon::assign(), boost::polygon::polygon_set_data< T >::insert(), boost::polygon::connectivity_extraction< coordinate_type >::insert(), boost::polygon::polygon_set_data< T >::insert_with_resize_dispatch(), boost::polygon::polygon_set_data< T >::operator=(), boost::polygon::polygon_set_data< T >::polygon_set_data(), boost::polygon::polygon_set_mutable_traits< std::list< T > >::set(), boost::polygon::polygon_set_mutable_traits< std::vector< T > >::set(), boost::polygon::polygon_set_data< T >::set(), and boost::polygon::polygon_set_data< T >::transform().
|
inline |
References boost::polygon::polygon_set_data< T >::insert().
|
inline |
References boost::polygon::polygon_set_data< T >::insert().
|
inline |
|
inline |
References boost::polygon::polygon_set_data< T >::insert().
|
inline |
References boost::polygon::assign(), and boost::polygon::polygon_set_data< T >::insert().
|
inline |
References boost::polygon::assign(), and boost::polygon::polygon_set_data< T >::insert().
|
inline |
References boost::polygon::polygon_set_data< T >::insert().
|
inline |
References boost::polygon::polygon_set_data< T >::insert().
|
inline |
|
inline |
References boost::polygon::polygon_set_data< T >::insert().
|
inline |
References boost::polygon::polygon_set_data< T >::insert().
|
inline |
References boost::polygon::assign(), and boost::polygon::polygon_set_data< T >::insert().
|
inline |
|
inline |
References boost::swap.
Referenced by boost::polygon::polygon_set_data< T >::insert(), and boost::polygon::polygon_set_data< T >::insert_vertex_sequence().
|
inline |
References boost::polygon::assign(), boost::polygon::COUNTERCLOCKWISE, boost::polygon::point_data< T >::get(), boost::polygon::HORIZONTAL, and boost::polygon::polygon_set_data< T >::insert_clean().
Referenced by boost::polygon::polygon_set_data< T >::bloat(), boost::polygon::polygon_set_data< T >::insert(), boost::polygon::polygon_set_data< T >::insert_with_resize_dispatch(), and boost::polygon::polygon_set_data< T >::shrink().
|
inline |
|
inline |
References boost::polygon::begin_holes(), and boost::polygon::end_holes().
Referenced by boost::polygon::polygon_set_data< T >::insert_with_resize().
|
inline |
References boost::polygon::assign(), boost::polygon::polygon_set_data< T >::begin(), boost::polygon::begin_points(), boost::polygon::CLOCKWISE, boost::polygon::COUNTERCLOCKWISE, boost::polygon::polygon_set_data< T >::end(), boost::polygon::end_points(), boost::xpressive::first, boost::multiprecision::backends::i, boost::polygon::polygon_set_data< T >::insert(), boost::polygon::polygon_set_data< T >::insert_vertex_sequence(), boost::polygon::make_resizing_vertex_list(), boost::asio::s, boost::xpressive::s2, boost::locale::period::marks::second, boost::geometry::math::sqrt(), boost::polygon::winding(), boost::polygon::point_data< T >::x(), and boost::polygon::point_data< T >::y().
|
inline |
References boost::asio::begin, boost::polygon::clear(), boost::polygon::connectivity_extraction< coordinate_type >::extract(), boost::spirit::ascii::graph, boost::multiprecision::backends::i, boost::polygon::insert(), and boost::polygon::connectivity_extraction< coordinate_type >::insert().
Referenced by boost::polygon::interact().
|
inlinestatic |
References boost::polygon::polygon_set_data< T >::compute_offset_edge(), boost::polygon::euclidean_distance(), boost::chrono::floor(), boost::polygon::point_data< T >::x(), and boost::polygon::point_data< T >::y().
Referenced by boost::polygon::polygon_set_data< T >::resize_poly_down(), and boost::polygon::polygon_set_data< T >::resize_poly_up().
|
inline |
References boost::multiprecision::backends::p.
|
inline |
|
inline |
|
inline |
References boost::polygon::polygon_set_data< T >::insert().
|
inline |
|
inline |
|
inline |
Referenced by boost::polygon::resize().
|
inlinestatic |
References boost::geometry::math::abs(), boost::polygon::delta(), boost::distance(), boost::polygon::encompass(), boost::polygon::HORIZONTAL, boost::multiprecision::backends::i, boost::geometry::intersects(), boost::polygon::polygon_set_data< T >::modify_pt(), boost::polygon::set_points(), and boost::polygon::VERTICAL.
Referenced by boost::polygon::polygon_set_data< T >::bloat(), and boost::polygon::polygon_set_data< T >::shrink().
|
inlinestatic |
|
inline |
|
inline |
References boost::polygon::scale_down().
Referenced by boost::polygon::scale_down().
|
inline |
References boost::polygon::scale_up().
Referenced by boost::polygon::scale_up().
|
inline |
|
inline |
References boost::polygon::polygon_set_data< T >::value().
|
inline |
References boost::polygon::polygon_data< T >::begin(), boost::polygon::polygon_set_data< T >::clear(), boost::polygon::CLOCKWISE, boost::polygon::COUNTERCLOCKWISE, boost::polygon::polygon_set_data< T >::insert_vertex_sequence(), boost::polygon::polygon_set_data< T >::resize_poly_down(), and boost::polygon::polygon_set_data< T >::resize_poly_up().
|
inline |
References boost::polygon::polygon_set_data< T >::clean().
|
inline |
References boost::polygon::polygon_sort().
Referenced by boost::polygon::polygon_set_traits< polygon_set_data< T > >::sorted().
|
inline |
|
inline |
|
inline |
Referenced by boost::polygon::polygon_set_data< T >::set().