66 GEOSGeometry *
clone(
const GEOSGeometry *geom)
const;
67 const GEOSPreparedGeometry *
preparedGeometry(
const GEOSGeometry *geom)
const;
70 QString
wkb(
const GEOSGeometry *geom,
72 QString
wkt(
const GEOSGeometry *geom,
75 void destroy(GEOSGeometry *geom)
const;
76 void destroy(
const GEOSGeometry *geom)
const;
77 void destroy(
const GEOSPreparedGeometry *ppgeom)
const;
78 void destroy(GEOSCoordSequence *sequence)
const;
79 void destroy(
const unsigned char *geos_text)
const;
80 void destroy(
const char *geos_text)
const;
94 static void notice(
const char *fmt, ...);
95 static void error(
const char *fmt, ...);
GEOSGeometry * geomFromWKB(const QString &wkb)
Reads in the geometry from the given well-known binary formatted string.
GEOSWKBWriter * m_WKBwriter
A GEOS library writer for well-known binary format.
GEOSGeometry * geomFromWKT(const QString &wkt)
Reads in the geometry from the given well-known text formatted string.
GEOSWKBWriter * wkbWriter()
Accessor for the GEOS well-known binary writer.
GEOSWKTWriter * m_WKTwriter
A GEOS library writer for well-known text format.
static GisTopology * m_gisfactory
A static member variable representing the GIS factory.
void geosInit()
Initializes the GEOS C API.
void geosFinish()
Shuts down the GEOS C API.
GisTopology()
Private default constructor so that this class is only instatiated through the instance() method...
QString wkb(const GEOSGeometry *geom, const Disposition &disp=PreserveGeometry)
Writes a well-known binary string from the given geometry.
QString wkt(const GEOSGeometry *geom, const Disposition &disp=PreserveGeometry)
Writes a well-known text string from the given geometry.
static void error(const char *fmt,...)
A static method for handling errors.
GEOSWKBReader * wkbReader()
Accessor for the GEOS well-known binary reader.
const GEOSPreparedGeometry * preparedGeometry(const GEOSGeometry *geom) const
Gets a GEOSPreparedGeometry from the given GEOSGeometry.
GEOSWKBReader * m_WKBreader
A GEOS library parser for well-known binary format.
This class models GIS topology.
static void dieAtExit()
Exit termination routine.
GEOSWKTWriter * wktWriter()
Accessor for the GEOS well-known text writer.
static void notice(const char *fmt,...)
A static method for handling errors.
GEOSWKTReader * m_WKTreader
A GEOS library parser for well-known text format.
Disposition
Enumeration to indicate whether the geometry should be preserved.
Namespace for ISIS/Bullet specific routines.
GEOSGeometry * clone(const GEOSGeometry *geom) const
Clones the given GEOSGeometry pointer.
GEOSWKTReader * wktReader()
Accessor for the GEOS well-known text reader.
void destroy(GEOSGeometry *geom) const
Destroys the given GEOS geometry.
~GisTopology()
Destroy the GisTopology object.
static GisTopology * instance()
Gets the singleton instance of this class.