mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-10 23:42:12 +00:00
Merge branch 'develop' into prepare
This commit is contained in:
@@ -109,7 +109,8 @@ models = ["point", "linestring", "box"
|
||||
, "multi_linestring", "multi_point", "multi_polygon", "referring_segment"]
|
||||
|
||||
|
||||
strategies = ["distance::pythagoras", "distance::haversine"
|
||||
strategies = ["distance::pythagoras", "distance::pythagoras_box_box"
|
||||
, "distance::pythagoras_point_box", "distance::haversine"
|
||||
, "distance::cross_track", "distance::projected_point"
|
||||
, "within::winding", "within::franklin", "within::crossings_multiply"
|
||||
, "area::surveyor", "area::huiller"
|
||||
|
||||
@@ -519,6 +519,8 @@
|
||||
<simplelist type="vert" columns="1">
|
||||
<member><link linkend="geometry.reference.strategies.strategy_distance_projected_point">strategy::distance::projected_point</link></member>
|
||||
<member><link linkend="geometry.reference.strategies.strategy_distance_pythagoras">strategy::distance::pythagoras</link></member>
|
||||
<member><link linkend="geometry.reference.strategies.strategy_distance_pythagoras_box_box">strategy::distance::pythagoras_box_box</link></member>
|
||||
<member><link linkend="geometry.reference.strategies.strategy_distance_pythagoras_point_box">strategy::distance::pythagoras_point_box</link></member>
|
||||
<member><link linkend="geometry.reference.strategies.strategy_distance_cross_track">strategy::distance::cross_track</link></member>
|
||||
<member><link linkend="geometry.reference.strategies.strategy_distance_haversine">strategy::distance::haversine</link></member>
|
||||
</simplelist>
|
||||
|
||||
@@ -289,6 +289,8 @@
|
||||
|
||||
[section:strategies Strategies]
|
||||
[include generated/distance_pythagoras.qbk]
|
||||
[include generated/distance_pythagoras_box_box.qbk]
|
||||
[include generated/distance_pythagoras_point_box.qbk]
|
||||
[include generated/distance_haversine.qbk]
|
||||
[include generated/distance_projected_point.qbk]
|
||||
[include generated/distance_cross_track.qbk]
|
||||
|
||||
@@ -139,7 +139,7 @@ public :
|
||||
|
||||
|
||||
/*!
|
||||
\brief Strategy to calculate the distance between two points or boxes
|
||||
\brief Strategy to calculate the distance between two boxes
|
||||
\ingroup strategies
|
||||
\tparam CalculationType \tparam_calculation
|
||||
|
||||
|
||||
@@ -84,11 +84,12 @@ namespace comparable
|
||||
{
|
||||
|
||||
/*!
|
||||
\brief Strategy to calculate comparable distance between two points
|
||||
\ingroup strategies
|
||||
\tparam Point \tparam_first_point
|
||||
\tparam Box \tparam_second_box
|
||||
\tparam CalculationType \tparam_calculation
|
||||
\brief Strategy to calculate comparable distance between a point
|
||||
and a box
|
||||
\ingroup strategies
|
||||
\tparam Point \tparam_first_point
|
||||
\tparam Box \tparam_second_box
|
||||
\tparam CalculationType \tparam_calculation
|
||||
*/
|
||||
template <typename CalculationType = void>
|
||||
class pythagoras_point_box
|
||||
@@ -132,7 +133,7 @@ public :
|
||||
|
||||
|
||||
/*!
|
||||
\brief Strategy to calculate the distance between two points or boxes
|
||||
\brief Strategy to calculate the distance between a point and a box
|
||||
\ingroup strategies
|
||||
\tparam CalculationType \tparam_calculation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user