![]() |
MySQL 8.0.43
Source Code Documentation
|
Implements the distance_sphere functor and function. More...
#include "sql/gis/distance_sphere.h"#include "sql/gis/distance_sphere_functor.h"#include <assert.h>#include <boost/geometry.hpp>#include <cmath>#include <stdexcept>#include "sql/dd/types/spatial_reference_system.h"#include "sql/gis/functor.h"#include "sql/gis/geometries.h"#include "sql/gis/geometries_cs.h"#include "sql/gis/geometries_traits.h"#include "sql/sql_exception_handler.h"Namespaces | |
| namespace | gis |
Functions | |
| static Geographic_point | gis::reinterpret_as_degrees (const Cartesian_point &g) |
| Map Cartesian geometry to geographic, mapping degrees east = x, degrees north = y. More... | |
| static Geographic_multipoint | gis::reinterpret_as_degrees (const Cartesian_multipoint &g) |
| Map Cartesian geometry to geographic, mapping degrees east = x, degrees north = y. More... | |
| bool | gis::distance_sphere (const dd::Spatial_reference_system *srs, const Geometry *g1, const Geometry *g2, const char *func_name, double sphere_radius, double *result, bool *result_null) noexcept |
| Compute the approximate distance between two geometries by assuming the world is a sphere. More... | |
Implements the distance_sphere functor and function.