Skip to content

Class SFCGAL::detail::io::WkbReader#

ClassList > io > WkbReader

More...

  • #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 io::WkbReader::WkbReader (
    std::istream & wkbString,
    bool asHexString=false
) 

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]

function geometry#

inline auto io::WkbReader::geometry () 

Returns the geometry from the (E)WKB

Must be used after readWkb


function preparedGeometry#

inline auto io::WkbReader::preparedGeometry () 

Returns the prepared geometry from the (E)WKB

Must be used after readWkb


function readWkb#

inline auto io::WkbReader::readWkb () 

function srid#

inline auto 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