22 #include <geos/export.h>
24 #include <geos/util/Machine.h>
25 #include <geos/io/WKBConstants.h>
34 class CoordinateSequence;
36 class GeometryCollection;
42 class MultiLineString;
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);
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25
Represents a linear polygon, which may include holes.
Definition: Polygon.h:61
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:52
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:44
Writes a Geometry into Well-Known Binary format.
Definition: WKBWriter.h:74
Definition: LineString.h:66