...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Densification of geographic segment.
template<typename FormulaPolicy, typename Spheroid, typename CalculationType> class strategy::densify::geographic { // ... };
Parameter |
Default |
Description |
---|---|---|
typename FormulaPolicy |
strategy::andoyer |
The geodesic formulas used internally. |
typename Spheroid |
srs::spheroid<double> |
The spheroid model. |
typename CalculationType |
void |
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 |
Function |
Description |
Parameters |
---|---|---|
geographic()
|
||
geographic(Spheroid const & spheroid)
|
Spheroid const &: spheroid: |
Function |
Description |
Parameters |
Returns |
---|---|---|---|
template<typename Point, typename AssignPolicy, typename T> void apply(Point const & p0, Point const & p1, AssignPolicy & policy, T const & length_threshold)
|
Point const &: p0: Point const &: p1: AssignPolicy &: policy: T const &: length_threshold: |
#include <boost/geometry/strategies/geographic/densify.hpp>