MySQL 8.0.39
Source Code Documentation
|
For iterating polygons inside multipolygon or geometry collection. More...
Public Member Functions | |
Polygon_stepper (char dim, Geometry::wkbByteOrder bo, bool has_wkb_hdr) | |
const char * | operator() (const char *p) |
Parsing operator. More... | |
Public Member Functions inherited from Stepper_base | |
Stepper_base (char dim, Geometry::wkbByteOrder bo, bool has_wkb_hdr, Geometry::wkbType geotype) | |
Constructor. More... | |
Geometry::wkbByteOrder | get_current_byte_order () const |
Geometry::wkbType | get_current_geotype () const |
Additional Inherited Members | |
Protected Attributes inherited from Stepper_base | |
char | m_dim |
Current geometry dimension. More... | |
bool | m_has_wkb_hdr |
Current geometry has a WKB header or not. More... | |
Geometry::wkbByteOrder | m_bo |
Current geometry's byte order. More... | |
Geometry::wkbType | m_geotype |
Current geometry's type, e.g. polygon, linestring, etc. More... | |
For iterating polygons inside multipolygon or geometry collection.
Expected multipolygon format: NUM-plgns|WKB-HDR1 plgn1|WKB-HDR2 plgn2|... This is also expected format for geometry collection. In both cases inside polygonX there is no more WKB headers.
|
inline |
const char * Polygon_stepper::operator() | ( | const char * | p | ) |
Parsing operator.
p | points to the 1st byte of a polygon's wkb data, right after its wkb header if any; |