22 #include <geos/export.h>
24 #include <geos/util/Machine.h>
25 #include <geos/io/OrdinateSet.h>
26 #include <geos/io/WKBConstants.h>
35 class CoordinateSequence;
37 class GeometryCollection;
43 class MultiLineString;
93 int bo = getMachineByteOrder(),
94 bool includeSRID =
false,
95 int flv = WKBConstants::wkbExtended);
109 getOutputDimension()
const
111 return defaultOutputDimension;
121 void setOutputDimension(uint8_t newOutputDimension);
138 void setByteOrder(
int newByteOrder);
146 getIncludeSRID()
const
156 setIncludeSRID(
bool newIncludeSRID)
158 includeSRID = newIncludeSRID;
175 void setFlavor(
int newFlavor);
200 uint8_t defaultOutputDimension;
210 std::ostream* outStream;
212 unsigned char buf[8];
233 void writeGeometryType(
int geometryType,
int SRID);
236 void writeSRID(
int SRID);
239 void writeByteOrder();
242 void writeInt(
int intValue);
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:56
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:51
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:196
Definition: LineString.h:66
Represents a linear polygon, which may include holes.
Definition: Polygon.h:61
Utility class to manipulate a set of flags indicating whether X, Y, Z, or M dimensions are present....
Definition: OrdinateSet.h:29
Writes a Geometry into Well-Known Binary format.
Definition: WKBWriter.h:75
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: Angle.h:25