transform.qbk 1.3 KB

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