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::densify::geographic

Densification of geographic segment.

Synopsis

template<typename FormulaPolicy, typename Spheroid, typename CalculationType>
class strategy::densify::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 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:

Header

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

See also

PrevUpHomeNext