Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

to_wkt (with significant digits)
PrevUpHomeNext

WKT-string formulating function (with significant digits)

Synopsis

template<typename Geometry>
std::string to_wkt(Geometry const & geometry, int significant_digits)

Parameters

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

Header

Either

#include <boost/geometry.hpp>

Or

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


PrevUpHomeNext