#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_data & | operator= (const polygon_90_set_data &that) |
template<typename ltype , typename rtype , typename op_type > | |
polygon_90_set_data & | operator= (const polygon_90_set_view< ltype, rtype, op_type > &that) |
template<typename geometry_object > | |
polygon_90_set_data & | operator= (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_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 |
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_data & | 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) |
polygon_90_set_data & | bloat (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_data & | shrink (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_data & | shrink2 (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_data & | shrink (direction_2d dir, typename coordinate_traits< coordinate_type >::unsigned_area_type shrinking) |
polygon_90_set_data & | bloat (direction_2d dir, typename coordinate_traits< coordinate_type >::unsigned_area_type shrinking) |
polygon_90_set_data & | resize (coordinate_type west, coordinate_type east, coordinate_type south, coordinate_type north) |
polygon_90_set_data & | move (coordinate_type x_delta, coordinate_type y_delta) |
template<typename transformation_type > | |
polygon_90_set_data & | transform (const transformation_type &transformation) |
polygon_90_set_data & | scale_up (typename coordinate_traits< coordinate_type >::unsigned_area_type factor) |
polygon_90_set_data & | scale_down (typename coordinate_traits< coordinate_type >::unsigned_area_type factor) |
template<typename scaling_type > | |
polygon_90_set_data & | scale (const anisotropic_scale_factor< scaling_type > &scaling) |
template<typename scaling_type > | |
polygon_90_set_data & | scale_with (const scaling_type &scaling) |
polygon_90_set_data & | scale (double factor) |
polygon_90_set_data & | self_xor () |
polygon_90_set_data & | self_intersect () |
polygon_90_set_data & | interact (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 > ¤t_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) |
typedef T boost::polygon::polygon_90_set_data< T >::coordinate_type |
typedef std::vector<std::pair<coordinate_type, std::pair<coordinate_type, int> > >::const_iterator boost::polygon::polygon_90_set_data< T >::iterator_type |
typedef polygon_90_set_data boost::polygon::polygon_90_set_data< T >::operator_arg_type |
typedef std::vector<std::pair<coordinate_type, std::pair<coordinate_type, int> > > boost::polygon::polygon_90_set_data< T >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by boost::polygon::polygon_90_set_traits< polygon_90_set_data< T > >::begin(), boost::polygon::polygon_90_set_data< T >::insert(), boost::polygon::polygon_45_set_data< Unit >::insert(), boost::polygon::property_merge_90< coordinate_type, property_type >::insert(), boost::polygon::connectivity_extraction_90< coordinate_type >::insert(), and boost::polygon::polygon_90_set_data< T >::interact().
|
inline |
References boost::polygon::polygon_45_data< T >::begin(), boost::polygon::polygon_90_set_data< T >::clear(), boost::polygon::COUNTERCLOCKWISE, boost::polygon::HIGH, boost::polygon::polygon_90_set_data< T >::insert(), boost::polygon::LOW, boost::polygon::polygon_90_set_data< T >::resize_poly_down(), and boost::polygon::polygon_90_set_data< T >::resize_poly_up().
Referenced by boost::polygon::bloat(), and boost::polygon::polygon_90_set_data< T >::bloat().
|
inline |
|
inline |
|
inline |
|
inline |
References boost::polygon::polygon_90_set_data< T >::sort().
Referenced by boost::polygon::polygon_45_set_data< Unit >::applyAdaptiveUnary_(), boost::polygon::bloat(), boost::polygon::polygon_90_set_data< T >::bloat2(), boost::polygon::polygon_90_set_traits< polygon_90_set_data< T > >::clean(), boost::polygon::empty(), boost::polygon::polygon_90_set_data< T >::empty(), boost::polygon::polygon_90_set_data< T >::extents(), boost::polygon::polygon_90_set_data< T >::get_rectangles(), boost::polygon::grow_and(), boost::polygon::connectivity_extraction_90< coordinate_type >::insert(), boost::polygon::polygon_90_set_data< T >::interact(), boost::polygon::move(), boost::polygon::polygon_90_set_data< T >::operator==(), boost::polygon::polygon_90_set_data< T >::self_intersect(), boost::polygon::polygon_90_set_mutable_traits< std::list< T > >::set(), boost::polygon::polygon_90_set_mutable_traits< std::vector< T > >::set(), boost::polygon::shrink(), boost::polygon::polygon_90_set_data< T >::shrink2(), boost::polygon::polygon_90_set_data< T >::size(), and boost::polygon::transform().
|
inline |
Referenced by boost::polygon::polygon_90_set_data< T >::bloat(), boost::polygon::polygon_90_set_data< T >::bloat2(), boost::polygon::polygon_90_set_data< T >::interact(), boost::polygon::polygon_90_set_mutable_traits< polygon_90_set_data< T > >::set(), boost::polygon::polygon_90_set_data< T >::shrink(), and boost::polygon::polygon_90_set_data< T >::shrink2().
|
inline |
|
inline |
References boost::polygon::polygon_90_set_data< T >::clean().
Referenced by boost::polygon::empty().
|
inline |
Referenced by boost::polygon::polygon_90_set_traits< polygon_90_set_data< T > >::end(), boost::polygon::polygon_90_set_data< T >::insert(), boost::polygon::polygon_45_set_data< Unit >::insert(), boost::polygon::property_merge_90< coordinate_type, property_type >::insert(), and boost::polygon::connectivity_extraction_90< coordinate_type >::insert().
|
inline |
References boost::polygon::polygon_90_set_data< T >::clean(), boost::polygon::encompass(), boost::xpressive::first, boost::polygon::HORIZONTAL, boost::multiprecision::backends::i, boost::locale::period::marks::second, and boost::polygon::set_points().
Referenced by boost::polygon::extents(), and boost::polygon::polygon_90_set_data< T >::shrink2().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References boost::polygon::polygon_90_set_data< T >::orient().
Referenced by boost::polygon::polygon_45_set_data< Unit >::applyAdaptiveUnary_(), boost::polygon::polygon_90_set_data< T >::bloat(), boost::polygon::polygon_90_set_data< T >::bloat2(), boost::polygon::grow_and(), boost::polygon::polygon_90_set_data< T >::insert(), boost::polygon::property_merge_90< coordinate_type, property_type >::insert(), boost::polygon::connectivity_extraction_90< coordinate_type >::insert(), boost::polygon::interact(), boost::polygon::polygon_90_set_data< T >::interact(), boost::polygon::polygon_90_set_data< T >::operator=(), boost::polygon::polygon_90_set_data< T >::polygon_90_set_data(), boost::polygon::polygon_90_set_data< T >::self_intersect(), boost::polygon::polygon_90_set_mutable_traits< std::list< T > >::set(), boost::polygon::polygon_90_set_mutable_traits< std::vector< T > >::set(), boost::polygon::polygon_90_set_mutable_traits< polygon_90_set_data< T > >::set(), boost::polygon::polygon_90_set_data< T >::shrink(), and boost::polygon::polygon_90_set_data< T >::shrink2().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References boost::polygon::polygon_90_set_data< T >::orient(), boost::swap, and boost::vertex().
|
inline |
|
inline |
References boost::polygon::polygon_90_set_data< T >::begin(), boost::polygon::polygon_90_set_data< T >::clean(), boost::polygon::polygon_90_set_data< T >::clear(), boost::spirit::ascii::graph, boost::multiprecision::backends::i, and boost::polygon::polygon_90_set_data< T >::insert().
Referenced by boost::polygon::interact().
|
inlinestatic |
|
inline |
References boost::polygon::VERTICAL.
Referenced by boost::polygon::move().
|
inline |
References boost::multiprecision::backends::p.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by boost::polygon::polygon_90_set_data< T >::insert(), boost::polygon::polygon_45_set_data< Unit >::insert(), boost::polygon::property_merge_90< coordinate_type, property_type >::insert(), boost::polygon::polygon_90_set_data< T >::operator==(), boost::polygon::polygon_90_set_traits< polygon_90_set_data< T > >::orient(), and boost::polygon::polygon_90_set_data< T >::set().
|
inlinestatic |
References count.
Referenced by boost::polygon::polygon_90_set_data< T >::resize_poly_down(), and boost::polygon::polygon_90_set_data< T >::resize_poly_up().
|
inline |
polygon_90_set_data< coordinate_type > & boost::polygon::polygon_90_set_data< coordinate_type >::resize | ( | coordinate_type | west, |
coordinate_type | east, | ||
coordinate_type | south, | ||
coordinate_type | north | ||
) |
References boost::polygon::bloat(), boost::polygon::move(), and boost::polygon::shrink().
Referenced by boost::polygon::resize().
|
inlinestatic |
References boost::geometry::math::abs(), boost::polygon::delta(), boost::polygon::encompass(), boost::polygon::HORIZONTAL, boost::multiprecision::backends::i, boost::polygon::polygon_90_set_data< T >::modify_pt(), boost::polygon::polygon_90_set_data< T >::remove_colinear_pts(), boost::polygon::set_points(), and boost::polygon::VERTICAL.
Referenced by boost::polygon::polygon_90_set_data< T >::bloat(), and boost::polygon::polygon_90_set_data< T >::shrink().
|
inlinestatic |
|
inline |
|
inline |
References boost::polygon::scaling_policy< T >::round().
|
inline |
References boost::polygon::scaling_policy< T >::round().
Referenced by boost::polygon::scale_down().
|
inline |
Referenced by boost::polygon::scale_up().
|
inline |
|
inline |
References boost::polygon::polygon_90_set_data< T >::clean(), boost::polygon::polygon_90_set_data< T >::insert(), boost::accumulators::extract::max, boost::accumulators::extract::min, and boost::polygon::polygon_90_set_data< T >::sort().
Referenced by boost::polygon::polygon_45_set_data< Unit >::applyAdaptiveUnary_(), and boost::polygon::self_intersect().
|
inline |
|
inline |
|
inline |
|
inline |
References boost::polygon::polygon_45_data< T >::begin(), boost::polygon::polygon_90_set_data< T >::clear(), boost::polygon::COUNTERCLOCKWISE, boost::polygon::HIGH, boost::polygon::polygon_90_set_data< T >::insert(), boost::polygon::LOW, boost::polygon::polygon_90_set_data< T >::resize_poly_down(), and boost::polygon::polygon_90_set_data< T >::resize_poly_up().
Referenced by boost::polygon::shrink(), and boost::polygon::polygon_90_set_data< T >::shrink().
|
inline |
|
inline |
References boost::polygon::bloat(), boost::polygon::polygon_90_set_data< T >::clean(), boost::polygon::polygon_90_set_data< T >::clear(), boost::polygon::convolve(), boost::polygon::polygon_90_set_data< T >::extents(), boost::polygon::polygon_90_set_data< T >::insert(), and boost::polygon::polygon_90_set_data< T >::sort().
|
inline |
|
inline |
References boost::polygon::polygon_sort().
Referenced by boost::polygon::polygon_45_set_data< Unit >::applyAdaptiveUnary_(), boost::polygon::polygon_90_set_data< T >::clean(), boost::polygon::polygon_90_set_data< T >::self_intersect(), boost::polygon::polygon_90_set_data< T >::self_xor(), boost::polygon::polygon_90_set_data< T >::shrink2(), and boost::polygon::polygon_90_set_traits< polygon_90_set_data< T > >::sorted().
|
inline |
|
inline |
|
inline |
Referenced by boost::polygon::polygon_90_set_data< T >::set().