1[/============================================================================ 2 Boost.Geometry (aka GGL, Generic Geometry Library) 3 4 Copyright (c) 2009-2012 Barend Gehrels, Amsterdam, the Netherlands. 5 Copyright (c) 2009-2012 Mateusz Loskot, London, UK. 6 Copyright (c) 2009-2012 Bruno Lalande, Paris, France. 7 8 Use, modification and distribution is subject to the Boost Software License, 9 Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 10 http://www.boost.org/LICENSE_1_0.txt) 11=============================================================================/] 12 13[def __this_function__ transform] 14 15[heading_conformance_no_ogc __this_function__] 16 17[heading Behavior] 18[table 19[[Case] [Behavior] ] 20[[__sph__ (degree) / __sph__ (radian)][Transforms coordinates from degree to radian, or vice versa]] 21[[__sph__ / __cart__ (3D)][Transforms coordinates from spherical coordinates to X,Y,Z, or vice versa, on a unit sphere]] 22[[__sph__ (degree, with radius) / __sph__ (radian, with radius)][Transforms coordinates from degree to radian, or vice versa. Third coordinate (radius) is untouched]] 23[[__sph__ (with radius) / __cart__ (3D)][Transforms coordinates from spherical coordinates to X,Y,Z, or vice versa, on a unit sphere. Third coordinate (radius) is taken into account]] 24] 25 26[heading Complexity] 27Linear 28 29[heading Example] 30[transform] 31[transform_output] 32 33