MySQL 8.0.39
Source Code Documentation
simplify.h File Reference

This file declares the interface to simplify a geometry. More...

#include <memory>
#include "sql/dd/types/spatial_reference_system.h"
#include "sql/gis/geometries.h"

Go to the source code of this file.

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 declares the interface to simplify a geometry.