MySQL 8.4.2
Source Code Documentation
|
Buffer functor that calls boost::geometry::buffer with correct geometry type and strategy combination. More...
#include <buffer_functor.h>
Public Member Functions | |
Buffer (const BufferStrategies &strats) | |
Buffer (const dd::Spatial_reference_system *srs, const BufferStrategies &strats) | |
std::unique_ptr< Geometry > | operator() (const Geometry &g) const override |
std::unique_ptr< Geometry > | eval (const Geometry &g) const |
std::unique_ptr< Geometry > | eval (const Cartesian_point &g) const |
std::unique_ptr< Geometry > | eval (const Cartesian_multipoint &g) const |
std::unique_ptr< Geometry > | eval (const Cartesian_linestring &g) const |
std::unique_ptr< Geometry > | eval (const Cartesian_multilinestring &g) const |
std::unique_ptr< Geometry > | eval (const Cartesian_polygon &g) const |
std::unique_ptr< Geometry > | eval (const Cartesian_multipolygon &g) const |
std::unique_ptr< Geometry > | eval (const Cartesian_geometrycollection &g) const |
std::unique_ptr< Geometry > | eval (const Geographic_point &g) const |
template<class T > | |
std::unique_ptr< Geometry > | typed_buffer (T &g) const |
Templated call to bg::buffer based on geometry type. More... | |
Public Member Functions inherited from gis::Unary_functor< std::unique_ptr< Geometry > > | |
virtual | ~Unary_functor ()=default |
Private Attributes | |
const dd::Spatial_reference_system * | m_srs |
const BufferStrategies & | strats |
bg::strategy::buffer::distance_symmetric< double > | d_symmetric |
bg::strategy::buffer::side_straight | s_straight |
bg::strategy::buffer::join_round | j_round |
bg::strategy::buffer::join_miter | j_miter |
bg::strategy::buffer::end_round | e_round |
bg::strategy::buffer::end_flat | e_flat |
bg::strategy::buffer::point_circle | p_circle |
bg::strategy::buffer::point_square | p_square |
bg::strategy::buffer::geographic_point_circle | geo_point_circle |
Additional Inherited Members | |
Static Protected Member Functions inherited from gis::Unary_functor< std::unique_ptr< Geometry > > | |
static std::unique_ptr< Geometry > | apply (F &f, const Geometry &g) |
Buffer functor that calls boost::geometry::buffer with correct geometry type and strategy combination.
The functor may throw exceptions. It is intended for implementing geographic functions. It should not be used directly by other MySQL code.
|
explicit |
gis::Buffer::Buffer | ( | const dd::Spatial_reference_system * | srs, |
const BufferStrategies & | strats | ||
) |
std::unique_ptr< Geometry > gis::Buffer::eval | ( | const Cartesian_geometrycollection & | g | ) | const |
std::unique_ptr< Geometry > gis::Buffer::eval | ( | const Cartesian_linestring & | g | ) | const |
std::unique_ptr< Geometry > gis::Buffer::eval | ( | const Cartesian_multilinestring & | g | ) | const |
std::unique_ptr< Geometry > gis::Buffer::eval | ( | const Cartesian_multipoint & | g | ) | const |
std::unique_ptr< Geometry > gis::Buffer::eval | ( | const Cartesian_multipolygon & | g | ) | const |
std::unique_ptr< Geometry > gis::Buffer::eval | ( | const Cartesian_point & | g | ) | const |
std::unique_ptr< Geometry > gis::Buffer::eval | ( | const Cartesian_polygon & | g | ) | const |
std::unique_ptr< Geometry > gis::Buffer::eval | ( | const Geographic_point & | g | ) | const |
std::unique_ptr< Geometry > gis::Buffer::typed_buffer | ( | T & | g | ) | const |
Templated call to bg::buffer based on geometry type.
Function also switches on strategy combination. PS. Not called by eval for Cartesian GC or Geographic point.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |