|
SFCGAL
2.3.0
|
Writer for WKB. More...
#include <WkbWriter.h>
Public Member Functions | |
| WkbWriter (std::ostream &outputStream, bool asHexString=false) | |
| Construct WKB writer. More... | |
| void | write (const Geometry &geometry, boost::endian::order wkbOrder=boost::endian::order::native) |
| write WKB for a geometry wkbOrder is the native endianness by default. More... | |
| void | write (const Geometry &geometry, const srid_t &srid, boost::endian::order wkbOrder=boost::endian::order::native) |
| write EWKB for a geometry wkbOrder is the native endianness by default. More... | |
Writer for WKB.
|
inline |
Construct WKB writer.
| outputStream | Output stream to write WKB data to |
| asHexString | If true, output as hexadecimal string, otherwise binary |
| void SFCGAL::detail::io::WkbWriter::write | ( | const Geometry & | geometry, |
| boost::endian::order | wkbOrder = boost::endian::order::native |
||
| ) |
write WKB for a geometry wkbOrder is the native endianness by default.
| geometry | Geometry to write as WKB |
| wkbOrder | Byte order for WKB output |
| void SFCGAL::detail::io::WkbWriter::write | ( | const Geometry & | geometry, |
| const srid_t & | srid, | ||
| boost::endian::order | wkbOrder = boost::endian::order::native |
||
| ) |
write EWKB for a geometry wkbOrder is the native endianness by default.
| geometry | Geometry to write as EWKB |
| srid | Spatial reference identifier to include in EWKB |
| wkbOrder | Byte order for WKB output |
1.8.10