[/============================================================================
  Boost.Geometry (aka GGL, Generic Geometry Library)

  Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands.
  Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
  Copyright (c) 2009-2013 Mateusz Loskot, London, UK.

  Use, modification and distribution is subject to the Boost Software License,
  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  http://www.boost.org/LICENSE_1_0.txt)
=============================================================================/]


[/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
[/ Generated from doxy/doxygen_output/xml/group__wkt.xml]
[section:from_wkt from_wkt]

'''<indexterm><primary>from_wkt</primary></indexterm>'''
Parses OGC Well-Known Text (WKT) into a geometry (any geometry) and returns it. 

[heading Synopsis]
``template<typename Geometry>
Geometry from_wkt(std::string const & wkt)``

[heading Parameters]

[table
[[Type] [Concept] [Name] [Description] ]
[[Geometry] [Any type fulfilling a Geometry Concept ] [ - ] [Must be specified]]
[[std::string const &] [] [wkt] [string containing WKT]]
]


[heading Header]
Either

`#include <boost/geometry.hpp>`


Or

`#include <boost/geometry/io/wkt/read.hpp>`

[include reference/io/from_wkt.qbk]


[endsect]

[section:read_wkt read_wkt]

'''<indexterm><primary>read_wkt</primary></indexterm>'''
Parses OGC Well-Known Text (WKT) into a geometry (any geometry) 

[heading Synopsis]
``template<typename Geometry>
void read_wkt(std::string const & wkt, Geometry & geometry)``

[heading Parameters]

[table
[[Type] [Concept] [Name] [Description] ]
[[std::string const &] [] [wkt] [string containing WKT ]]
[[Geometry &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept output geometry]]
]


[heading Header]
Either

`#include <boost/geometry.hpp>`


Or

`#include <boost/geometry/io/wkt/read.hpp>`

[include reference/io/read_wkt.qbk]


[endsect]

[section:to_wkt_1 to_wkt]

'''<indexterm><primary>to_wkt</primary></indexterm>'''
WKT-string formulating function. 

[heading Synopsis]
``template<typename Geometry>
std::string to_wkt(Geometry const & geometry)``

[heading Parameters]

[table
[[Type] [Concept] [Name] [Description] ]
[[Geometry const &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept]]
]


[heading Header]
Either

`#include <boost/geometry.hpp>`


Or

`#include <boost/geometry/io/wkt/write.hpp>`

[include reference/io/to_wkt.qbk]


[endsect]

[section:to_wkt_2_with_significant_digits to_wkt (with significant digits)]

'''<indexterm><primary>to_wkt</primary></indexterm>'''
WKT-string formulating function (with significant digits) 

[heading Synopsis]
``template<typename Geometry>
std::string to_wkt(Geometry const & geometry, int significant_digits)``

[heading Parameters]

[table
[[Type] [Concept] [Name] [Description] ]
[[Geometry const &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept ]]
[[int] [] [significant_digits] [Specifies the number of significant digits to use in the output wkt]]
]


[heading Header]
Either

`#include <boost/geometry.hpp>`


Or

`#include <boost/geometry/io/wkt/write.hpp>`


[endsect]

[section:wkt wkt]

'''<indexterm><primary>wkt</primary></indexterm>'''
Main WKT-streaming function. 

[heading Synopsis]
``template<typename Geometry>
wkt_manipulator< Geometry > wkt(Geometry const & geometry)``

[heading Parameters]

[table
[[Type] [Concept] [Name] [Description] ]
[[Geometry const &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept]]
]


[heading Header]
Either

`#include <boost/geometry.hpp>`


Or

`#include <boost/geometry/io/wkt/write.hpp>`

[include reference/io/wkt.qbk]


[endsect]

