PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
|
static |
TRIANGLE Read a WKB triangle, starting just after the endian byte, type number and optional srid number.
Advance the parse state forward appropriately. Triangles are encoded like polygons in WKB, but more like linestrings as lwgeometries.
Definition at line 555 of file lwin_wkb.c.
References wkb_parse_state::check, wkb_parse_state::has_m, wkb_parse_state::has_z, integer_from_wkb_state(), LW_PARSER_CHECK_MINPOINTS, LW_PARSER_CHECK_ZCLOSURE, LWDEBUGF, lwerror(), lwtriangle_construct_empty(), wkb_parse_state::lwtype, lwtype_name(), POINTARRAY::npoints, LWTRIANGLE::points, ptarray_free(), ptarray_from_wkb_state(), ptarray_is_closed_z(), and wkb_parse_state::srid.
Referenced by lwgeom_from_wkb_state().