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