Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::geometry::detail::simplify Namespace Reference

Classes

struct  simplify_copy
 
struct  simplify_multi
 
struct  simplify_polygon
 
struct  simplify_range
 
struct  simplify_range_insert
 

Functions

template<typename Geometry , typename OutputIterator , typename Distance , typename Strategy >
void simplify_insert (Geometry const &geometry, OutputIterator out, Distance const &max_distance, Strategy const &strategy)
 Simplify a geometry, using an output iterator and a specified strategy. More...
 
template<typename Geometry , typename OutputIterator , typename Distance >
void simplify_insert (Geometry const &geometry, OutputIterator out, Distance const &max_distance)
 Simplify a geometry, using an output iterator. More...
 

Function Documentation

template<typename Geometry , typename OutputIterator , typename Distance , typename Strategy >
void boost::geometry::detail::simplify::simplify_insert ( Geometry const &  geometry,
OutputIterator  out,
Distance const &  max_distance,
Strategy const &  strategy 
)
inline

Simplify a geometry, using an output iterator and a specified strategy.

Template Parameters
Geometry
Parameters
geometryinput geometry, to be simplified
outoutput iterator, outputs all simplified points
max_distancedistance (in units of input coordinates) of a vertex to other segments to be removed
strategysimplify strategy to be used for simplification, might include point-distance strategy

{distinguish,with strategy} {[include reference/algorithms/simplify.qbk]}

References boost::geometry::resolve_strategy::simplify_insert::apply().

Referenced by simplify_insert().

template<typename Geometry , typename OutputIterator , typename Distance >
void boost::geometry::detail::simplify::simplify_insert ( Geometry const &  geometry,
OutputIterator  out,
Distance const &  max_distance 
)
inline

Simplify a geometry, using an output iterator.

Template Parameters
Geometry
Parameters
geometryinput geometry, to be simplified
outoutput iterator, outputs all simplified points
max_distancedistance (in units of input coordinates) of a vertex to other segments to be removed

{[include reference/algorithms/simplify_insert.qbk]}

References boost::iostreams::zlib::default_strategy, simplify_insert(), and boost::detail::type.