Skip to content

Class SFCGAL::detail::io::WktWriter

ClassList > SFCGAL > detail > io > WktWriter

More...

  • #include <WktWriter.h>

Public Functions

Type Name
WktWriter (std::ostream & s)
void write (const Geometry & g, bool exact=false)

Protected Functions

Type Name
void write (const Point & g)
void write (const LineString & g)
void write (const Polygon & g)
void write (const GeometryCollection & g)
void write (const MultiPoint & g)
void write (const MultiLineString & g)
void write (const MultiPolygon & g)
void write (const MultiSolid & g)
void write (const Triangle & g)
void write (const TriangulatedSurface & g)
void write (const PolyhedralSurface & g)
void write (const Solid & g)
void writeCoordinate (const Point & g)
void writeCoordinateType (const Geometry & g)
void writeInner (const Point & g)
void writeInner (const LineString & g)
void writeInner (const Polygon & g)
void writeInner (const Triangle & g)
void writeInner (const PolyhedralSurface & g)
void writeInner (const Solid & g)
void writeRec (const Geometry & g)

Detailed Description

Writer for WKT

Warning:

Triangles are transformed into polygons

Public Functions Documentation

function WktWriter

SFCGAL::detail::io::WktWriter::WktWriter (
    std::ostream & s
) 

function write [1/13]

void SFCGAL::detail::io::WktWriter::write (
    const Geometry & g,
    bool exact=false
) 

Todo

replace with visitor dispatch


Protected Functions Documentation

function write [2/13]

void SFCGAL::detail::io::WktWriter::write (
    const Point & g
) 

function write [3/13]

void SFCGAL::detail::io::WktWriter::write (
    const LineString & g
) 

function write [4/13]

void SFCGAL::detail::io::WktWriter::write (
    const Polygon & g
) 

function write [5/13]

void SFCGAL::detail::io::WktWriter::write (
    const GeometryCollection & g
) 

function write [6/13]

void SFCGAL::detail::io::WktWriter::write (
    const MultiPoint & g
) 

function write [7/13]

void SFCGAL::detail::io::WktWriter::write (
    const MultiLineString & g
) 

function write [8/13]

void SFCGAL::detail::io::WktWriter::write (
    const MultiPolygon & g
) 

function write [9/13]

void SFCGAL::detail::io::WktWriter::write (
    const MultiSolid & g
) 

function write [10/13]

void SFCGAL::detail::io::WktWriter::write (
    const Triangle & g
) 

function write [11/13]

void SFCGAL::detail::io::WktWriter::write (
    const TriangulatedSurface & g
) 

function write [12/13]

void SFCGAL::detail::io::WktWriter::write (
    const PolyhedralSurface & g
) 

function write [13/13]

void SFCGAL::detail::io::WktWriter::write (
    const Solid & g
) 

function writeCoordinate

void SFCGAL::detail::io::WktWriter::writeCoordinate (
    const Point & g
) 

function writeCoordinateType

void SFCGAL::detail::io::WktWriter::writeCoordinateType (
    const Geometry & g
) 

write coordinate type (""|" Z"|" ZM")


function writeInner [1/6]

void SFCGAL::detail::io::WktWriter::writeInner (
    const Point & g
) 

function writeInner [2/6]

void SFCGAL::detail::io::WktWriter::writeInner (
    const LineString & g
) 

function writeInner [3/6]

void SFCGAL::detail::io::WktWriter::writeInner (
    const Polygon & g
) 

function writeInner [4/6]

void SFCGAL::detail::io::WktWriter::writeInner (
    const Triangle & g
) 

function writeInner [5/6]

void SFCGAL::detail::io::WktWriter::writeInner (
    const PolyhedralSurface & g
) 

function writeInner [6/6]

void SFCGAL::detail::io::WktWriter::writeInner (
    const Solid & g
) 

function writeRec

void SFCGAL::detail::io::WktWriter::writeRec (
    const Geometry & g
) 


The documentation for this class was generated from the following file /builds/sfcgal/SFCGAL/src/detail/io/WktWriter.h