Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::geometry::strategy::distance::comparable::pythagoras< CalculationType > Class Template Reference

Strategy to calculate comparable distance between two points. More...

#include <distance_pythagoras.hpp>

Classes

struct  calculation_type
 

Static Public Member Functions

template<typename Point1 , typename Point2 >
static calculation_type
< Point1, Point2 >::type 
apply (Point1 const &p1, Point2 const &p2)
 

Detailed Description

template<typename CalculationType = void>
class boost::geometry::strategy::distance::comparable::pythagoras< CalculationType >

Strategy to calculate comparable distance between two points.

Template Parameters
Point1
Point2
CalculationType

Member Function Documentation

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

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