te::gm::WKTReader Class Reference

A class that deserializes a Geometry from a valid WKT. More...

#include <WKTReader.h>

Inheritance diagram for te::gm::WKTReader:
te::common::Static

Static Public Member Functions

static Geometryread (const char *wkt)
 It returns a valid Geometry from a given WKT. More...
 

Detailed Description

A class that deserializes a Geometry from a valid WKT.

See also
WKTWriter

Definition at line 52 of file WKTReader.h.

Member Function Documentation

◆ read()

static Geometry* te::gm::WKTReader::read ( const char *  wkt)
static

It returns a valid Geometry from a given WKT.

Parameters
wktA valid WKT Geometry.
Returns
A Geometry created from reading the WKT.
Exceptions
ExceptionIt will throw an exception if the given WKT is invvalid.
Note
The caller of this method will take the ownership of the returned Geometry.

The documentation for this class was generated from the following file: