#include <geos.h>
Public Member Functions | |
| WKBReader (geom::GeometryFactory const &f) | |
| WKBReader () | |
| Inizialize parser with default GeometryFactory. | |
| geom::Geometry * | read (std::istream &is) |
| Reads a Geometry from an istream. | |
| geom::Geometry * | readHEX (std::istream &is) |
| Reads a Geometry from an istream in hex format. | |
Static Public Member Functions | |
| static std::ostream & | printHEX (std::istream &is, std::ostream &os) |
| Print WKB in HEX form to out stream. | |
This class is designed to support reuse of a single instance to read multiple geometries. This class is not thread-safe; each thread should create its own instance.
The Well-known Binary format is defined in the OpenGIS Simple Features Specification for SQL. This implementation supports the extended WKB standard which allows representing 3-dimensional coordinates.
| geom::Geometry* geos::io::WKBReader::read | ( | std::istream & | is | ) |
Reads a Geometry from an istream.
| is | the stream to read from |
| IOException | ||
| ParseException |
| geom::Geometry* geos::io::WKBReader::readHEX | ( | std::istream & | is | ) |
Reads a Geometry from an istream in hex format.
| is | the stream to read from |
| IOException | ||
| ParseException |
| static std::ostream& geos::io::WKBReader::printHEX | ( | std::istream & | is, | |
| std::ostream & | os | |||
| ) | [static] |
Print WKB in HEX form to out stream.
| is | is the stream to read from | |
| os | is the stream to write to |
1.5.4