boost::geometry::strategy::distance::comparable::pythagoras
distance_pythagoras.hpp
boost::geometry::strategy::distance::comparable::pythagoras::calculation_type
typename CalculationType void
typename Point1
typename Point2
calculation_type< Point1, Point2 >::type static calculation_type<Point1, Point2>::type boost::geometry::strategy::distance::comparable::pythagoras< CalculationType >::apply (Point1 const &p1, Point2 const &p2) apply Point1 const & p1 Point2 const & p2

Strategy to calculate comparable distance between two points.

Point1

first point type

Point2

second point type

CalculationType

numeric type for calculation (e.g. high precision); if [*void] then it is extracted automatically from the coordinate type and (if necessary) promoted to floating point

- boost::geometry::strategy::distance::comparable::pythagoras
  apply