|
Isis Developer Reference
|
Go to the documentation of this file.
49 GEOSGeometry *
clone(
const GEOSGeometry *geom)
const;
50 const GEOSPreparedGeometry *
preparedGeometry(
const GEOSGeometry *geom)
const;
53 QString
wkb(
const GEOSGeometry *geom,
55 QString
wkt(
const GEOSGeometry *geom,
58 void destroy(GEOSGeometry *geom)
const;
59 void destroy(
const GEOSGeometry *geom)
const;
60 void destroy(
const GEOSPreparedGeometry *ppgeom)
const;
61 void destroy(GEOSCoordSequence *sequence)
const;
62 void destroy(
const unsigned char *geos_text)
const;
63 void destroy(
const char *geos_text)
const;
69 static void dieAtExit();
77 static void notice(
const char *fmt, ...);
78 static void error(
const char *fmt, ...);
81 GEOSWKTReader *wktReader();
82 GEOSWKTWriter *wktWriter();
84 GEOSWKBReader *wkbReader();
85 GEOSWKBWriter *wkbWriter();
88 GEOSWKTReader *m_WKTreader;
89 GEOSWKTWriter *m_WKTwriter;
90 GEOSWKBReader *m_WKBreader;
91 GEOSWKBWriter *m_WKBwriter;
const GEOSPreparedGeometry * preparedGeometry(const GEOSGeometry *geom) const
Gets a GEOSPreparedGeometry from the given GEOSGeometry.
Definition: GisTopology.cpp:163
This class models GIS topology.
Definition: GisTopology.h:34
@ DestroyGeometry
Destroy the geometry.
Definition: GisTopology.h:41
@ PreserveGeometry
Preserve the geometry.
Definition: GisTopology.h:42
GEOSGeometry * clone(const GEOSGeometry *geom) const
Clones the given GEOSGeometry pointer.
Definition: GisTopology.cpp:148
Disposition
Enumeration to indicate whether the geometry should be preserved.
Definition: GisTopology.h:40
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
GEOSGeometry * geomFromWKT(const QString &wkt)
Reads in the geometry from the given well-known text formatted string.
Definition: GisTopology.cpp:128
static GisTopology * instance()
Gets the singleton instance of this class.
Definition: GisTopology.cpp:83
GEOSGeometry * geomFromWKB(const QString &wkb)
Reads in the geometry from the given well-known binary formatted string.
Definition: GisTopology.cpp:100
void destroy(GEOSGeometry *geom) const
Destroys the given GEOS geometry.
Definition: GisTopology.cpp:232
Isis exception class.
Definition: IException.h:91
Namespace for the standard library.
QString wkt(const GEOSGeometry *geom, const Disposition &disp=PreserveGeometry)
Writes a well-known text string from the given geometry.
Definition: GisTopology.cpp:186
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
QString wkb(const GEOSGeometry *geom, const Disposition &disp=PreserveGeometry)
Writes a well-known binary string from the given geometry.
Definition: GisTopology.cpp:212