Boost.Geometry    Boost C++ Libraries
boost::geometry::traits::radius_access< Geometry, Dimension > Struct Template Reference

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


Detailed Description

template<typename Geometry, std::size_t Dimension>
struct boost::geometry::traits::radius_access< Geometry, 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:

April 2, 2011

Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands
Copyright © 2008-2011 Bruno Lalande, Paris, France
Copyright © 2009-2010 Mateusz Loskot, London, UK
Documentation is generated by Doxygen