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
This is an older version of Boost and was released in 2022. The current version is 1.89.0.
Densification of spherical segment.
template<typename RadiusTypeOrSphere, typename CalculationType> class strategy::densify::spherical { // ... };
|
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 |
|
Function |
Description |
Parameters |
|---|---|---|
|
spherical()
|
||
|
template<typename RadiusOrSphere> spherical(RadiusOrSphere const & radius_or_sphere)
|
RadiusOrSphere const &: radius_or_sphere: |
|
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()
|
#include <boost/geometry/strategies/spherical/densify.hpp>