boost::geometry::select_calculation_type
select_calculation_type.hpp
typename Geometry1 Geometry1
typename Geometry2 Geometry2
typename CalculationType CalculationType
boost::mpl::if_< boost::is_void< CalculationType >, typename select_coordinate_type< Geometry1, Geometry2 >::type, CalculationType >::type typedef boost::mpl::if_< boost::is_void<CalculationType>, typename select_coordinate_type < Geometry1, Geometry2 >::type, CalculationType >::type boost::geometry::select_calculation_type< Geometry1, Geometry2, CalculationType >::type type

Meta-function selecting the "calculation" type.

Based on two input geometry types, and an input calculation type, (which defaults to void in the calling function), this meta-function selects the most appropriate:

- if calculation type is specified, that one is used,

- if it is void, the most precise of the two points is used

- boost::geometry::select_calculation_type
  type