![]() |
![]() |
Traits class to get/set radius of a circle/sphere/(ellipse) More...
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
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 |