MySQL 8.4.2
Source Code Documentation
simplify.cc File Reference

This file implements the simplify functor and function. More...

#include "sql/gis/simplify.h"
#include "sql/gis/simplify_functor.h"
#include <assert.h>
#include <memory>
#include <boost/geometry.hpp>
#include "my_inttypes.h"
#include "my_sys.h"
#include "mysqld_error.h"
#include "sql/dd/types/spatial_reference_system.h"
#include "sql/gis/geometries.h"
#include "sql/gis/geometries_traits.h"
#include "sql/sql_exception_handler.h"

Namespaces

namespace  gis
 

Functions

bool gis::simplify (const dd::Spatial_reference_system *srs, const Geometry &g, double max_distance, const char *func_name, std::unique_ptr< Geometry > *result) noexcept
 Simplifies a geometry using the Douglas-Peucker algorithm. More...
 

Detailed Description

This file implements the simplify functor and function.