SFCGAL 2.0.0
|
read WKT geometry More...
#include <WktReader.h>
Public Member Functions | |
WktReader (std::istream &s) | |
read WKT from input stream | |
srid_t | readSRID () |
read an SRID, if present | |
Geometry * | readGeometry () |
read a geometry from a string | |
GeometryType | readGeometryType () |
read geometry type | |
CoordinateType | readCoordinateType () |
read coordinate type [Z][M] | |
void | readInnerPoint (Point &g) |
Read Point content from wkt. | |
void | readInnerLineString (LineString &g) |
Read LineString content from wkt. | |
void | readInnerPolygon (Polygon &g) |
Read Polygon content from wkt. | |
void | readInnerTriangle (Triangle &g) |
Read Triangle content from wkt. | |
void | readInnerMultiPoint (MultiPoint &g) |
Read MultiPoint content from wkt. | |
void | readInnerMultiLineString (MultiLineString &g) |
Read MultiLineString content from wkt. | |
void | readInnerMultiPolygon (MultiPolygon &g) |
Read MultiPolygon content from wkt. | |
void | readInnerGeometryCollection (GeometryCollection &g) |
Read GeometryCollection content from wkt. | |
void | readInnerTriangulatedSurface (TriangulatedSurface &g) |
Read TriangulatedSurface content from wkt. | |
void | readInnerPolyhedralSurface (PolyhedralSurface &g) |
Read PolyhedralSurface content from wkt. | |
void | readInnerSolid (Solid &g) |
Read Solid content from wkt. | |
void | readInnerMultiSolid (MultiSolid &g) |
Read MultiSolid content from wkt. | |
bool | readPointCoordinate (Point &p) |
Read coordinate from WKT. |
read WKT geometry
SFCGAL::detail::io::WktReader::WktReader | ( | std::istream & | s | ) |
read WKT from input stream
CoordinateType SFCGAL::detail::io::WktReader::readCoordinateType | ( | ) |
read coordinate type [Z][M]
auto SFCGAL::detail::io::WktReader::readGeometry | ( | ) |
read a geometry from a string
auto SFCGAL::detail::io::WktReader::readGeometryType | ( | ) |
read geometry type
void SFCGAL::detail::io::WktReader::readInnerGeometryCollection | ( | GeometryCollection & | g | ) |
Read GeometryCollection content from wkt.
void SFCGAL::detail::io::WktReader::readInnerLineString | ( | LineString & | g | ) |
Read LineString content from wkt.
ex : (1.0 2.0,1.0,6.0)
void SFCGAL::detail::io::WktReader::readInnerMultiLineString | ( | MultiLineString & | g | ) |
Read MultiLineString content from wkt.
void SFCGAL::detail::io::WktReader::readInnerMultiPoint | ( | MultiPoint & | g | ) |
Read MultiPoint content from wkt.
ex : (0.0 1.0,5.0 6.0) or ((0.0 4.0),(5.0 6.0))
void SFCGAL::detail::io::WktReader::readInnerMultiPolygon | ( | MultiPolygon & | g | ) |
Read MultiPolygon content from wkt.
void SFCGAL::detail::io::WktReader::readInnerMultiSolid | ( | MultiSolid & | g | ) |
Read MultiSolid content from wkt.
void SFCGAL::detail::io::WktReader::readInnerPoint | ( | Point & | g | ) |
Read Point content from wkt.
ex : (1.0 2.0 14.0)
void SFCGAL::detail::io::WktReader::readInnerPolygon | ( | Polygon & | g | ) |
Read Polygon content from wkt.
ex : ((30 10, 10 20, 20 40, 40 40, 30 10))
void SFCGAL::detail::io::WktReader::readInnerPolyhedralSurface | ( | PolyhedralSurface & | g | ) |
Read PolyhedralSurface content from wkt.
void SFCGAL::detail::io::WktReader::readInnerTriangle | ( | Triangle & | g | ) |
Read Triangle content from wkt.
void SFCGAL::detail::io::WktReader::readInnerTriangulatedSurface | ( | TriangulatedSurface & | g | ) |
Read TriangulatedSurface content from wkt.
auto SFCGAL::detail::io::WktReader::readPointCoordinate | ( | Point & | p | ) |
Read coordinate from WKT.
auto SFCGAL::detail::io::WktReader::readSRID | ( | ) |
read an SRID, if present