|
|
Strategy to calculate comparable distance between two points. More...
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) |
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 |
| static calculation_type<Point1, Point2>::type boost::geometry::strategy::distance::comparable::pythagoras< CalculationType >::apply | ( | Point1 const & | p1, |
| Point2 const & | p2 | ||
| ) | [static] |
|
April 2, 2011 |
Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands Copyright © 2008-2011 Bruno Lalande, Paris, France Copyright © 2009-2010 Mateusz Loskot, London, UK |