22#include <geos/export.h>
24#include <geos/util/Machine.h>
25#include <geos/io/WKBConstants.h>
34class CoordinateSequence;
36class GeometryCollection;
91 int bo = getMachineByteOrder(),
92 bool includeSRID =
false,
93 int flv = WKBConstants::wkbExtended);
107 getOutputDimension()
const
109 return defaultOutputDimension;
119 void setOutputDimension(uint8_t newOutputDimension);
136 void setByteOrder(
int newByteOrder);
144 getIncludeSRID()
const
154 setIncludeSRID(
bool newIncludeSRID)
156 includeSRID = newIncludeSRID;
173 void setFlavor(
int newFlavor);
198 uint8_t defaultOutputDimension;
199 uint8_t outputDimension;
208 std::ostream* outStream;
210 unsigned char buf[8];
231 void writeGeometryType(
int geometryType,
int SRID);
234 void writeSRID(
int SRID);
237 void writeByteOrder();
240 void writeInt(
int intValue);
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:44
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:52
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
Definition: LineString.h:66
Represents a linear polygon, which may include holes.
Definition: Polygon.h:61
Writes a Geometry into Well-Known Binary format.
Definition: WKBWriter.h:74
void writeHEX(const geom::Geometry &g, std::ostream &os)
Write a Geometry to an ostream in binary hex format.
void write(const geom::Geometry &g, std::ostream &os)
Write a Geometry to an ostream.
Basic namespace for all GEOS functionalities.
Definition: geos.h:39