From 2679e29526c720c7de3e58b2ee057bcc939dc390 Mon Sep 17 00:00:00 2001 From: dbaston Date: Tue, 11 Jun 2024 13:08:15 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20libgeos/?= =?UTF-8?q?geos@76d0e8f344efbad4b41bafced76f3f8e48573ccb=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doxygen/WKBConstants_8h_source.html | 25 +- doxygen/WKBWriter_8h_source.html | 350 +++++++++--------- .../classgeos_1_1io_1_1WKBWriter-members.html | 17 +- doxygen/classgeos_1_1io_1_1WKBWriter.html | 7 + doxygen/functions_p.html | 6 +- .../namespacegeos_1_1io_1_1WKBConstants.html | 6 + 6 files changed, 219 insertions(+), 192 deletions(-) diff --git a/doxygen/WKBConstants_8h_source.html b/doxygen/WKBConstants_8h_source.html index 96244088f..a6423e5e3 100644 --- a/doxygen/WKBConstants_8h_source.html +++ b/doxygen/WKBConstants_8h_source.html @@ -85,19 +85,24 @@
37  wkbMultiPoint = 4,
38  wkbMultiLineString = 5,
39  wkbMultiPolygon = 6,
-
40  wkbGeometryCollection = 7
-
41  };
-
42 
-
43  enum wkbFlavour {
-
44  wkbExtended = 1,
-
45  wkbIso = 2
+
40  wkbGeometryCollection = 7,
+
41  wkbCircularString = 8,
+
42  wkbCompoundCurve = 9,
+
43  wkbCurvePolygon = 10,
+
44  wkbMultiCurve = 11,
+
45  wkbMultiSurface = 12,
46  };
47 
-
48 }
-
49 
-
50 } // namespace geos::io
-
51 } // namespace geos
+
48  enum wkbFlavour {
+
49  wkbExtended = 1,
+
50  wkbIso = 2
+
51  };
52 
+
53 }
+
54 
+
55 } // namespace geos::io
+
56 } // namespace geos
+
57 
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25
diff --git a/doxygen/WKBWriter_8h_source.html b/doxygen/WKBWriter_8h_source.html index 6ed37b2b2..d8c2a04b8 100644 --- a/doxygen/WKBWriter_8h_source.html +++ b/doxygen/WKBWriter_8h_source.html @@ -82,194 +82,202 @@
33 namespace geom {
34 
35 class CoordinateSequence;
-
36 class Geometry;
-
37 class GeometryCollection;
-
38 class Point;
-
39 class LineString;
-
40 class LinearRing;
-
41 class Polygon;
-
42 class MultiPoint;
-
43 class MultiLineString;
-
44 class MultiPolygon;
-
45 class PrecisionModel;
-
46 
-
47 } // namespace geom
-
48 } // namespace geos
+
36 class CompoundCurve;
+
37 class CurvePolygon;
+
38 class Geometry;
+
39 class GeometryCollection;
+
40 class Point;
+
41 class LineString;
+
42 class LinearRing;
+
43 class Polygon;
+
44 class MultiPoint;
+
45 class MultiLineString;
+
46 class MultiPolygon;
+
47 class PrecisionModel;
+
48 class SimpleCurve;
49 
-
50 namespace geos {
-
51 namespace io {
+
50 } // namespace geom
+
51 } // namespace geos
52 
-
75 class GEOS_DLL WKBWriter {
-
76 
-
77 public:
-
78  /*
-
79  * \brief
-
80  * Initializes writer with target coordinate dimension, endianness
-
81  * flag and SRID value.
-
82  *
-
83  * @param dims Supported values are 2, 3 or 4. Note that 4 indicates
-
84  * up to 4 dimensions will be written but (e.g.) 2D WKB is still produced
-
85  * for 2D geometries. Default since GEOS 3.12 is 4.
-
86  * @param bo output byte order - default to native machine byte order.
-
87  * Legal values include 0 (big endian/xdr) and 1 (little endian/ndr).
-
88  * @param incudeSRID true if SRID should be included in WKB (an
-
89  * extension).
-
90  */
-
91  WKBWriter(
-
92  uint8_t dims = 4,
-
93  int bo = getMachineByteOrder(),
-
94  bool includeSRID = false,
-
95  int flv = WKBConstants::wkbExtended);
-
96 
-
97  /*
-
98  * \brief
-
99  * Destructor.
-
100  */
-
101  ~WKBWriter() = default;
-
102 
-
103  /*
-
104  * \brief
-
105  * Returns the output dimension used by the
-
106  * <code>WKBWriter</code>.
-
107  */
-
108  uint8_t
-
109  getOutputDimension() const
-
110  {
-
111  return defaultOutputDimension;
-
112  }
-
113 
-
114  /*
-
115  * Sets the output dimension used by the <code>WKBWriter</code>.
-
116  *
-
117  * @param newOutputDimension Supported values are 2, 3 or 4.
-
118  * Note that 4 indicates up to 4 dimensions will be written but
-
119  * (e.g.) 2D WKB is still produced for 2D geometries.
-
120  */
-
121  void setOutputDimension(uint8_t newOutputDimension);
-
122 
-
123  /*
-
124  * \brief
-
125  * Returns the byte order used by the
-
126  * <code>WKBWriter</code>.
-
127  */
-
128  int
-
129  getByteOrder() const
-
130  {
-
131  return byteOrder;
-
132  }
-
133 
-
134  /*
-
135  * Sets the byte order used by the
-
136  * <code>WKBWriter</code>.
-
137  */
-
138  void setByteOrder(int newByteOrder);
-
139 
-
140  /*
-
141  * \brief
-
142  * Returns whether SRID values are output by the
-
143  * <code>WKBWriter</code>.
-
144  */
-
145  bool
-
146  getIncludeSRID() const
-
147  {
-
148  return includeSRID;
-
149  }
-
150 
-
151  /*
-
152  * Sets whether SRID values should be output by the
-
153  * <code>WKBWriter</code>.
-
154  */
-
155  void
-
156  setIncludeSRID(bool newIncludeSRID)
-
157  {
-
158  includeSRID = newIncludeSRID;
-
159  }
-
160 
-
161  /*
-
162  * \brief
-
163  * Returns the WKB flavor the writer will emit.
-
164  */
-
165  int
-
166  getFlavor() const
-
167  {
-
168  return flavor;
-
169  }
-
170 
-
171  /*
-
172  * \brief
-
173  * Set the WKB flavor the writer will emit.
-
174  */
-
175  void setFlavor(int newFlavor);
-
176 
-
184  void write(const geom::Geometry& g, std::ostream& os);
-
185  // throws IOException, ParseException
-
186 
-
194  void writeHEX(const geom::Geometry& g, std::ostream& os);
-
195  // throws IOException, ParseException
-
196 
-
197 private:
-
198 
-
199  // 2, 3, or 4
-
200  uint8_t defaultOutputDimension;
-
201  OrdinateSet outputOrdinates;
-
202 
-
203  // WKBConstants::wkbwkbXDR | WKBConstants::wkbNDR
-
204  int byteOrder;
-
205  // WKBConstants::wkbIso | WKBConstants::wkbExtended
-
206  int flavor;
+
53 namespace geos {
+
54 namespace io {
+
55 
+
78 class GEOS_DLL WKBWriter {
+
79 
+
80 public:
+
81  /*
+
82  * \brief
+
83  * Initializes writer with target coordinate dimension, endianness
+
84  * flag and SRID value.
+
85  *
+
86  * @param dims Supported values are 2, 3 or 4. Note that 4 indicates
+
87  * up to 4 dimensions will be written but (e.g.) 2D WKB is still produced
+
88  * for 2D geometries. Default since GEOS 3.12 is 4.
+
89  * @param bo output byte order - default to native machine byte order.
+
90  * Legal values include 0 (big endian/xdr) and 1 (little endian/ndr).
+
91  * @param incudeSRID true if SRID should be included in WKB (an
+
92  * extension).
+
93  */
+
94  WKBWriter(
+
95  uint8_t dims = 4,
+
96  int bo = getMachineByteOrder(),
+
97  bool includeSRID = false,
+
98  int flv = WKBConstants::wkbExtended);
+
99 
+
100  /*
+
101  * \brief
+
102  * Destructor.
+
103  */
+
104  ~WKBWriter() = default;
+
105 
+
106  /*
+
107  * \brief
+
108  * Returns the output dimension used by the
+
109  * <code>WKBWriter</code>.
+
110  */
+
111  uint8_t
+
112  getOutputDimension() const
+
113  {
+
114  return defaultOutputDimension;
+
115  }
+
116 
+
117  /*
+
118  * Sets the output dimension used by the <code>WKBWriter</code>.
+
119  *
+
120  * @param newOutputDimension Supported values are 2, 3 or 4.
+
121  * Note that 4 indicates up to 4 dimensions will be written but
+
122  * (e.g.) 2D WKB is still produced for 2D geometries.
+
123  */
+
124  void setOutputDimension(uint8_t newOutputDimension);
+
125 
+
126  /*
+
127  * \brief
+
128  * Returns the byte order used by the
+
129  * <code>WKBWriter</code>.
+
130  */
+
131  int
+
132  getByteOrder() const
+
133  {
+
134  return byteOrder;
+
135  }
+
136 
+
137  /*
+
138  * Sets the byte order used by the
+
139  * <code>WKBWriter</code>.
+
140  */
+
141  void setByteOrder(int newByteOrder);
+
142 
+
143  /*
+
144  * \brief
+
145  * Returns whether SRID values are output by the
+
146  * <code>WKBWriter</code>.
+
147  */
+
148  bool
+
149  getIncludeSRID() const
+
150  {
+
151  return includeSRID;
+
152  }
+
153 
+
154  /*
+
155  * Sets whether SRID values should be output by the
+
156  * <code>WKBWriter</code>.
+
157  */
+
158  void
+
159  setIncludeSRID(bool newIncludeSRID)
+
160  {
+
161  includeSRID = newIncludeSRID;
+
162  }
+
163 
+
164  /*
+
165  * \brief
+
166  * Returns the WKB flavor the writer will emit.
+
167  */
+
168  int
+
169  getFlavor() const
+
170  {
+
171  return flavor;
+
172  }
+
173 
+
174  /*
+
175  * \brief
+
176  * Set the WKB flavor the writer will emit.
+
177  */
+
178  void setFlavor(int newFlavor);
+
179 
+
187  void write(const geom::Geometry& g, std::ostream& os);
+
188  // throws IOException, ParseException
+
189 
+
197  void writeHEX(const geom::Geometry& g, std::ostream& os);
+
198  // throws IOException, ParseException
+
199 
+
200  static int getWkbType(const geom::Geometry&);
+
201 
+
202 private:
+
203 
+
204  // 2, 3, or 4
+
205  uint8_t defaultOutputDimension;
+
206  OrdinateSet outputOrdinates;
207 
-
208  bool includeSRID;
-
209 
-
210  std::ostream* outStream;
-
211 
-
212  unsigned char buf[8];
-
213 
-
214  void writePoint(const geom::Point& p);
-
215  void writePointEmpty(const geom::Point& p);
-
216  // throws IOException
-
217 
-
218  void writeLineString(const geom::LineString& ls);
-
219  // throws IOException
-
220 
-
221  void writePolygon(const geom::Polygon& p);
-
222  // throws IOException
-
223 
-
224  void writeGeometryCollection(const geom::GeometryCollection& c, int wkbtype);
-
225  // throws IOException, ParseException
-
226 
-
227  void writeCoordinateSequence(const geom::CoordinateSequence& cs, bool sized);
-
228  // throws IOException
-
229 
-
230  void writeCoordinate(const geom::CoordinateSequence& cs, std::size_t idx);
-
231  // throws IOException
+
208  // WKBConstants::wkbwkbXDR | WKBConstants::wkbNDR
+
209  int byteOrder;
+
210  // WKBConstants::wkbIso | WKBConstants::wkbExtended
+
211  int flavor;
+
212 
+
213  bool includeSRID;
+
214 
+
215  std::ostream* outStream;
+
216 
+
217  unsigned char buf[8];
+
218 
+
219  void writePoint(const geom::Point& p);
+
220  void writePointEmpty(const geom::Point& p);
+
221  // throws IOException
+
222 
+
223  void writeSimpleCurve(const geom::SimpleCurve& ls);
+
224  // throws IOException
+
225 
+
226  void writeCompoundCurve(const geom::CompoundCurve& curve);
+
227 
+
228  void writePolygon(const geom::Polygon& p);
+
229  // throws IOException
+
230 
+
231  void writeCurvePolygon(const geom::CurvePolygon& p);
232 
-
233  void writeGeometryType(int geometryType, int SRID);
-
234  // throws IOException
+
233  void writeGeometryCollection(const geom::GeometryCollection& gc);
+
234  // throws IOException, ParseException
235 
-
236  void writeSRID(int SRID);
+
236  void writeCoordinateSequence(const geom::CoordinateSequence& cs, bool sized);
237  // throws IOException
238 
-
239  void writeByteOrder();
+
239  void writeCoordinate(const geom::CoordinateSequence& cs, std::size_t idx);
240  // throws IOException
241 
-
242  void writeInt(int intValue);
+
242  void writeGeometryType(int geometryType, int SRID);
243  // throws IOException
244 
-
245  OrdinateSet getOutputOrdinates(OrdinateSet ordinates);
-
246 
-
247 };
-
248 
-
249 } // namespace io
-
250 } // namespace geos
-
251 
+
245  void writeSRID(int SRID);
+
246  // throws IOException
+
247 
+
248  void writeByteOrder();
+
249  // throws IOException
+
250 
+
251  void writeInt(int intValue);
+
252  // throws IOException
+
253 
+
254  OrdinateSet getOutputOrdinates(OrdinateSet ordinates);
+
255 
+
256 };
+
257 
+
258 } // namespace io
+
259 } // namespace geos
+
260 
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
Definition: Point.h:61
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
+
Writes a Geometry into Well-Known Binary format.
Definition: WKBWriter.h:78
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
diff --git a/doxygen/classgeos_1_1io_1_1WKBWriter-members.html b/doxygen/classgeos_1_1io_1_1WKBWriter-members.html index 17231a698..06fa86c97 100644 --- a/doxygen/classgeos_1_1io_1_1WKBWriter-members.html +++ b/doxygen/classgeos_1_1io_1_1WKBWriter-members.html @@ -54,14 +54,15 @@ getFlavor() const (defined in geos::io::WKBWriter)geos::io::WKBWriterinline getIncludeSRID() const (defined in geos::io::WKBWriter)geos::io::WKBWriterinline getOutputDimension() const (defined in geos::io::WKBWriter)geos::io::WKBWriterinline - setByteOrder(int newByteOrder) (defined in geos::io::WKBWriter)geos::io::WKBWriter - setFlavor(int newFlavor) (defined in geos::io::WKBWriter)geos::io::WKBWriter - setIncludeSRID(bool newIncludeSRID) (defined in geos::io::WKBWriter)geos::io::WKBWriterinline - setOutputDimension(uint8_t newOutputDimension) (defined in geos::io::WKBWriter)geos::io::WKBWriter - WKBWriter(uint8_t dims=4, int bo=getMachineByteOrder(), bool includeSRID=false, int flv=WKBConstants::wkbExtended) (defined in geos::io::WKBWriter)geos::io::WKBWriter - write(const geom::Geometry &g, std::ostream &os)geos::io::WKBWriter - writeHEX(const geom::Geometry &g, std::ostream &os)geos::io::WKBWriter - ~WKBWriter()=default (defined in geos::io::WKBWriter)geos::io::WKBWriter + getWkbType(const geom::Geometry &) (defined in geos::io::WKBWriter)geos::io::WKBWriterstatic + setByteOrder(int newByteOrder) (defined in geos::io::WKBWriter)geos::io::WKBWriter + setFlavor(int newFlavor) (defined in geos::io::WKBWriter)geos::io::WKBWriter + setIncludeSRID(bool newIncludeSRID) (defined in geos::io::WKBWriter)geos::io::WKBWriterinline + setOutputDimension(uint8_t newOutputDimension) (defined in geos::io::WKBWriter)geos::io::WKBWriter + WKBWriter(uint8_t dims=4, int bo=getMachineByteOrder(), bool includeSRID=false, int flv=WKBConstants::wkbExtended) (defined in geos::io::WKBWriter)geos::io::WKBWriter + write(const geom::Geometry &g, std::ostream &os)geos::io::WKBWriter + writeHEX(const geom::Geometry &g, std::ostream &os)geos::io::WKBWriter + ~WKBWriter()=default (defined in geos::io::WKBWriter)geos::io::WKBWriter