Class SFCGAL::detail::io::WktReader
ClassList > SFCGAL > detail > io > WktReader
#include <WktReader.h>
Public Functions
Type | Name |
---|---|
WktReader (std::istream & s) |
|
CoordinateType | readCoordinateType () |
Geometry * | readGeometry () |
GeometryType | readGeometryType () |
void | readInnerGeometryCollection (GeometryCollection & g) |
void | readInnerLineString (LineString & g) |
void | readInnerMultiLineString (MultiLineString & g) |
void | readInnerMultiPoint (MultiPoint & g) |
void | readInnerMultiPolygon (MultiPolygon & g) |
void | readInnerMultiSolid (MultiSolid & g) |
void | readInnerPoint (Point & g) |
void | readInnerPolygon (Polygon & g) |
void | readInnerPolyhedralSurface (PolyhedralSurface & g) |
void | readInnerSolid (Solid & g) |
void | readInnerTriangle (Triangle & g) |
void | readInnerTriangulatedSurface (TriangulatedSurface & g) |
bool | readPointCoordinate (Point & p) |
srid_t | readSRID () |
Detailed Description
read WKT geometry
Warning:
M is ignored @ŧodo take M in account?
Public Functions Documentation
function WktReader
SFCGAL::detail::io::WktReader::WktReader (
std::istream & s
)
read WKT from input stream
function readCoordinateType
CoordinateType SFCGAL::detail::io::WktReader::readCoordinateType ()
read coordinate type [Z][M]
function readGeometry
Geometry * SFCGAL::detail::io::WktReader::readGeometry ()
read a geometry from a string
Warning:
returns new instance
function readGeometryType
GeometryType SFCGAL::detail::io::WktReader::readGeometryType ()
read geometry type
function readInnerGeometryCollection
void SFCGAL::detail::io::WktReader::readInnerGeometryCollection (
GeometryCollection & g
)
Read GeometryCollection content from wkt
function readInnerLineString
void SFCGAL::detail::io::WktReader::readInnerLineString (
LineString & g
)
Read LineString content from wkt
ex : (1.0 2.0,1.0,6.0)
function readInnerMultiLineString
void SFCGAL::detail::io::WktReader::readInnerMultiLineString (
MultiLineString & g
)
Read MultiLineString content from wkt
function readInnerMultiPoint
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))
function readInnerMultiPolygon
void SFCGAL::detail::io::WktReader::readInnerMultiPolygon (
MultiPolygon & g
)
Read MultiPolygon content from wkt
function readInnerMultiSolid
void SFCGAL::detail::io::WktReader::readInnerMultiSolid (
MultiSolid & g
)
Read MultiSolid content from wkt
function readInnerPoint
void SFCGAL::detail::io::WktReader::readInnerPoint (
Point & g
)
Read Point content from wkt
ex : (1.0 2.0 14.0)
function readInnerPolygon
void SFCGAL::detail::io::WktReader::readInnerPolygon (
Polygon & g
)
Read Polygon content from wkt
ex : ((30 10, 10 20, 20 40, 40 40, 30 10))
function readInnerPolyhedralSurface
void SFCGAL::detail::io::WktReader::readInnerPolyhedralSurface (
PolyhedralSurface & g
)
Read PolyhedralSurface content from wkt
function readInnerSolid
void SFCGAL::detail::io::WktReader::readInnerSolid (
Solid & g
)
Read Solid content from wkt
function readInnerTriangle
void SFCGAL::detail::io::WktReader::readInnerTriangle (
Triangle & g
)
Read Triangle content from wkt
function readInnerTriangulatedSurface
void SFCGAL::detail::io::WktReader::readInnerTriangulatedSurface (
TriangulatedSurface & g
)
Read TriangulatedSurface content from wkt
function readPointCoordinate
bool SFCGAL::detail::io::WktReader::readPointCoordinate (
Point & p
)
Read coordinate from WKT
Todo
ZM management
function readSRID
srid_t SFCGAL::detail::io::WktReader::readSRID ()
read an SRID, if present
The documentation for this class was generated from the following file /builds/sfcgal/SFCGAL/src/detail/io/WktReader.h