read WKB geometry
More...
#include <WkbReader.h>
◆ WkbReader()
| SFCGAL::detail::io::WkbReader::WkbReader |
( |
std::istream & | wkbString, |
|
|
bool | asHexString = false ) |
|
inline |
read WKB from input stream
- Parameters
-
| wkbString | hexadecimal ascii string or binary string |
| asHexString | if false, will read the wkb as binary string, else will read the string as hex ascii string (ie. 2 chars for 1 byte with values matching [0-9A-F] |
◆ geometry()
| auto SFCGAL::detail::io::WkbReader::geometry |
( |
| ) |
->std::unique_ptr< SFCGAL::Geometry > |
|
inline |
Returns the geometry from the (E)WKB.
Must be used after readWkb
◆ preparedGeometry()
Returns the prepared geometry from the (E)WKB.
Must be used after readWkb
◆ readWkb()
| auto SFCGAL::detail::io::WkbReader::readWkb |
( |
| ) |
->void |
|
inline |
◆ srid()
| auto SFCGAL::detail::io::WkbReader::srid |
( |
| ) |
const->srid_t |
|
inlinenodiscard |
Returns the srid from the (E)WKB.
Must be used after readWkb