boost::geometry::strategy::distance::pythagoras_point_box
distance_pythagoras_point_box.hpp
boost::geometry::strategy::distance::pythagoras_point_box::calculation_type
typename CalculationType void
typename Point
typename Box
calculation_type< Point, Box >::type static calculation_type<Point, Box>::type boost::geometry::strategy::distance::pythagoras_point_box< CalculationType >::apply (Point const &point, Box const &box) apply Point const & point Box const & box

applies the distance calculation using pythagoras

the calculated distance (including taking the square root)

point

point

box

box

Strategy to calculate the distance between a point and a box.

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

[heading Notes] [note Can be used for points and boxes with two, three or more dimensions] [heading See also] [link geometry.reference.algorithms.distance.distance_3_with_strategy distance (with strategy)]
- boost::geometry::strategy::distance::pythagoras_point_box
  apply