boost::geometry::strategy::distance::pythagoras_box_box
distance_pythagoras_box_box.hpp
boost::geometry::strategy::distance::pythagoras_box_box::calculation_type
typename CalculationType void
typename Box1
typename Box2
calculation_type< Box1, Box2 >::type static calculation_type<Box1, Box2>::type boost::geometry::strategy::distance::pythagoras_box_box< CalculationType >::apply (Box1 const &box1, Box2 const &box2) apply Box1 const & box1 Box2 const & box2

applies the distance calculation using pythagoras_box_box

the calculated distance (including taking the square root)

box1

first box

box2

second box

Strategy to calculate the distance between two boxes.

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 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_box_box
  apply