MySQL 8.0.40
Source Code Documentation
length.cc File Reference

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

#include <cmath>
#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/gis/length.h"
#include "sql/gis/length_functor.h"
#include "sql/sql_exception_handler.h"

Namespaces

namespace  gis
 

Functions

bool gis::length (const dd::Spatial_reference_system *srs, const Geometry *g1, double *distance, bool *null) noexcept
 Computes the length of linestrings and multilinestrings. More...
 

Detailed Description

This file implements the length functor and function.