wkt.qbk 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. [/============================================================================
  2. Boost.Geometry (aka GGL, Generic Geometry Library)
  3. Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands.
  4. Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
  5. Copyright (c) 2009-2013 Mateusz Loskot, London, UK.
  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. [/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
  11. [/ Generated from doxy/doxygen_output/xml/group__wkt.xml]
  12. [section:read_wkt read_wkt]
  13. '''<indexterm><primary>read_wkt</primary></indexterm>'''
  14. Parses OGC Well-Known Text (WKT (Well-Known Text)) into a geometry (any geometry)
  15. [heading Synopsis]
  16. ``template<typename Geometry>
  17. void read_wkt(std::string const & wkt, Geometry & geometry)``
  18. [heading Parameters]
  19. [table
  20. [[Type] [Concept] [Name] [Description] ]
  21. [[std::string const &] [] [wkt] [string containing WKT (Well-Known Text)]]
  22. [[Geometry &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept output geometry]]
  23. ]
  24. [heading Header]
  25. Either
  26. `#include <boost/geometry.hpp>`
  27. Or
  28. `#include <boost/geometry/io/wkt/read.hpp>`
  29. [include reference/io/read_wkt.qbk]
  30. [endsect]
  31. [section:wkt wkt]
  32. '''<indexterm><primary>wkt</primary></indexterm>'''
  33. Main WKT-streaming function.
  34. [heading Synopsis]
  35. ``template<typename Geometry>
  36. wkt_manipulator<Geometry> wkt(Geometry const & geometry)``
  37. [heading Parameters]
  38. [table
  39. [[Type] [Concept] [Name] [Description] ]
  40. [[Geometry const &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept]]
  41. ]
  42. [heading Header]
  43. Either
  44. `#include <boost/geometry.hpp>`
  45. Or
  46. `#include <boost/geometry/io/wkt/write.hpp>`
  47. [include reference/io/wkt.qbk]
  48. [endsect]