Class SFCGAL::detail::io::WkbReader
ClassList > SFCGAL > detail > io > WkbReader
#include <WkbReader.h>
Public Functions
Type | Name |
---|---|
WkbReader (std::istream & wkbString, bool asHexString=false) |
|
auto | geometry () |
auto | preparedGeometry () |
auto | readWkb () |
auto | srid () const |
Detailed Description
read WKB geometry
Public Functions Documentation
function WkbReader
inline SFCGAL::detail::io::WkbReader::WkbReader (
std::istream & wkbString,
bool asHexString=false
)
read WKB from input stream
Parameters:
wkbString
hexadecimal ascii string or binary stringasHexString
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]
function geometry
inline auto SFCGAL::detail::io::WkbReader::geometry ()
Returns the geometry from the (E)WKB
Must be used after readWkb
function preparedGeometry
inline auto SFCGAL::detail::io::WkbReader::preparedGeometry ()
Returns the prepared geometry from the (E)WKB
Must be used after readWkb
function readWkb
inline auto SFCGAL::detail::io::WkbReader::readWkb ()
function srid
inline auto SFCGAL::detail::io::WkbReader::srid () const
Returns the srid from the (E)WKB
Must be used after readWkb
The documentation for this class was generated from the following file /builds/sfcgal/SFCGAL/src/detail/io/WkbReader.h