32#ifndef SQL_GIS_AREA_FUNCTOR_H_INCLUDED
33#define SQL_GIS_AREA_FUNCTOR_H_INCLUDED
35#include <boost/geometry.hpp>
56 Area(
double semi_major,
double semi_minor);
Area functor that calls boost::geometry::area with the correct parameter types.
Definition: area_functor.h:48
double eval(const Cartesian_polygon &g) const
Definition: area.cc:58
boost::geometry::strategy::area::geographic m_geographic_strategy
Definition: area_functor.h:52
double operator()(const Geometry &g) const override
Definition: area.cc:56
double m_semi_minor
Definition: area_functor.h:50
double m_semi_major
Definition: area_functor.h:49
A Cartesian 2d multipolygon.
Definition: geometries_cs.h:719
A Cartesian 2d polygon.
Definition: geometries_cs.h:268
A geographic (ellipsoidal) 2d multipolygon.
Definition: geometries_cs.h:773
A geographic (ellipsoidal) 2d polygon.
Definition: geometries_cs.h:321
Abstract superclass for all geometric objects.
Definition: geometries.h:99
The base class of all functors that take one geometry argument.
Definition: functor.h:614
This file contains the superclasses for GIS functors.
This file declares the geometry class hierarchy used by the server as the internal representation of ...
This file declares the coordinate system specific subclasses of the geometry class hierarchy.