Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
to_wkt (with significant digits)

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