boost::geometry::traits::radius_access
radius.hpp
typename Geometry
std::size_t Dimension Dimension

Traits class to get/set radius of a circle/sphere/(ellipse)

the radius access meta-functions give read/write access to the radius of a circle or a sphere, or to the major/minor axis or an ellipse, or to one of the 3 equatorial radii of an ellipsoid.

It should be specialized per geometry, in namespace core_dispatch. Those specializations should forward the call via traits to the geometry class, which could be specified by the user.

There is a corresponding generic radius_get and radius_set function

# Geometries:

- n-sphere (circle,sphere)

- upcoming ellipse

# Specializations should provide:

- inline static T get(Geometry const& geometry)

- inline static void set(Geometry& geometry, T const& radius)