| Home | Libraries | People | FAQ | More

#### strategy::densify::spherical

Densification of spherical segment.

###### Synopsis

    template<typename RadiusTypeOrSphere, typename CalculationType>
    class strategy::densify::spherical
    {
      // ...
    };

###### Template parameter(s)

Parameter | Default | Description
--- | --- | ---
typename RadiusTypeOrSphere | double | numeric type for radius (of sphere, earth) or sphere 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
--- | --- | ---

    spherical()

    template<typename RadiusOrSphere>
    spherical(RadiusOrSphere const & radius_or_sphere)

RadiusOrSphere const &: radius_or_sphere:

###### 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:

    radius_type radius()

###### Header

`#include <boost/geometry/strategies/spherical/densify.hpp>`

###### See also

densify (with strategy)