MySQL 9.1.0
Source Code Documentation
|
For iterating linestrings inside multilinestring and polygon. More...
Public Member Functions | |
Linestring_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 linestrings inside multilinestring and polygon.
Expected multilinestring format: NUM-ls|WKB-HDR1 ls1|WKB-HDR2 ls2|.... Expected polygon format doesn't have the WKB headers, and the 1st one is exterior ring, following if any are interior rings.
In both cases, the linestrX is of linestring format, with no WKB header in its each point.
|
inline |
const char * Linestring_stepper::operator() | ( | const char * | p | ) |
Parsing operator.
p | points to the 1st byte of a linestring's wkb data, right after its wkb header if any; |