Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::geometry::distance_result< Geometry1, Geometry2, Strategy > Struct Template Reference

Meta-function defining return type of distance function. More...

#include <distance_result.hpp>

Inheritance diagram for boost::geometry::distance_result< Geometry1, Geometry2, Strategy >:
Collaboration diagram for boost::geometry::distance_result< Geometry1, Geometry2, Strategy >:

Public Member Functions

 BOOST_MPL_ASSERT_MSG (false, NOT_IMPLEMENTED_FOR_THIS_STRATEGY,(types< Strategy, point_type< Geometry1 >::type, point_type< Geometry2 >::type >))
 

Detailed Description

template<typename Geometry1, typename Geometry2 = Geometry1, typename Strategy = void>
struct boost::geometry::distance_result< Geometry1, Geometry2, Strategy >

Meta-function defining return type of distance function.

Note
The strategy defines the return-type (so this situation is different from length, where distance is sqr/sqrt, but length always squared)

Member Function Documentation

boost::geometry::strategy::distance::services::return_type< Strategy, point_type< Geometry1 >::type , point_type< Geometry2 >::type >::BOOST_MPL_ASSERT_MSG ( false  ,
NOT_IMPLEMENTED_FOR_THIS_STRATEGY  ,
(types< Strategy, point_type< Geometry1 >::type , point_type< Geometry2 >::type >)   
)
inherited

The documentation for this struct was generated from the following file: