MySQL 9.1.0
Source Code Documentation
distance.cc File Reference

This file implements the distance function. More...

#include "sql/gis/distance.h"
#include "sql/gis/distance_functor.h"
#include <cmath>
#include "sql/sql_exception_handler.h"
#include "my_inttypes.h"
#include "my_sys.h"
#include "mysqld_error.h"

Namespaces

namespace  gis
 

Functions

bool gis::distance (const dd::Spatial_reference_system *srs, const Geometry *g1, const Geometry *g2, double *distance, bool *is_null) noexcept
 Computes the distance between two geometries. More...
 

Detailed Description

This file implements the distance function.