1#ifndef GIS__LENGTH_FUNCTOR_H_INCLUDED
2#define GIS__LENGTH_FUNCTOR_H_INCLUDED
38#include <boost/geometry.hpp>
52 boost::geometry::srs::spheroid<double>>>
56 Length(
double major,
double minor);
A Cartesian 2d linestring.
Definition: geometries_cs.h:71
A Cartesian 2d multilinestring.
Definition: geometries_cs.h:602
A geographic (ellipsoidal) 2d linestring.
Definition: geometries_cs.h:125
A geographic (ellipsoidal) 2d multilinestring.
Definition: geometries_cs.h:661
Abstract superclass for all geometric objects.
Definition: geometries.h:100
Length functor that calls Boost.Geometry with the correct parameter types.
Definition: length_functor.h:49
std::unique_ptr< boost::geometry::strategy::distance::andoyer< boost::geometry::srs::spheroid< double > > > m_geographic_strategy
Definition: length_functor.h:53
Length(double major, double minor)
Definition: length.cc:46
double eval(const Geometry &g1) const
Definition: length.cc:52
double operator()(const Geometry &g1) const override
Definition: length.cc:50
The base class of all functors that take one geometry argument.
Definition: functor.h:615
This file contains the superclasses for GIS functors.
This file declares the geometry class hierarchy used by the server as the internal representation of ...
std::conditional_t< !std::is_array< T >::value, std::unique_ptr< T, detail::Deleter< T > >, std::conditional_t< detail::is_unbounded_array_v< T >, std::unique_ptr< T, detail::Array_deleter< std::remove_extent_t< T > > >, void > > unique_ptr
The following is a common type that is returned by all the ut::make_unique (non-aligned) specializati...
Definition: ut0new.h:2440