Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

strategy::line_interpolate::geographic

Interpolate point on a geographic segment.

Synopsis

template<typename FormulaPolicy, typename Spheroid, typename CalculationType>
class strategy::line_interpolate::geographic
{
  // ...
};

Template parameter(s)

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

Constructor(s)

Function

Description

Parameters

geographic()

geographic(Spheroid const & spheroid)

Spheroid const &: spheroid:

Member Function(s)

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()

Header

#include <boost/geometry/strategies/geographic/line_interpolate.hpp>

See also

PrevUpHomeNext