geos::WKBReader Class Reference

Reads a Geometry from Well-Known Binary format. More...

#include <geos.h>

List of all members.

Public Member Functions

Geometryread (istream &is)
 Reads a Geometry from an istream.

Static Public Member Functions

static ostream & printHEX (istream &is, ostream &os)
 Print WKB in HEX form to out stream.


Detailed Description

Reads a Geometry from Well-Known Binary format.

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.


Member Function Documentation

Geometry * geos::WKBReader::read ( istream &  is  ) 

Reads a Geometry from an istream.

Parameters:
is the stream to read from
Returns:
the Geometry read
Exceptions:
IOException 
ParseException 

ostream & geos::WKBReader::printHEX ( istream &  is,
ostream &  os 
) [static]

Print WKB in HEX form to out stream.

Parameters:
is is the stream to read from
os is the stream to write to


The documentation for this class was generated from the following files:
Generated on Wed Mar 12 20:41:33 2008 for GEOS by  doxygen 1.5.4