...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Interpolate point on a geographic segment.
template<typename FormulaPolicy, typename Spheroid, typename CalculationType> class strategy::line_interpolate::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 Fraction, typename Distance> void apply(Point const & p0, Point const & p1, Fraction const & fraction, Point & p, Distance const & distance)
|
Point const &: p0: Point const &: p1: Fraction const &: fraction: Point &: p: Distance const &: distance: |
||
Spheroid model()
|
#include <boost/geometry/strategies/geographic/line_interpolate.hpp>