PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
LWGEOM* wkt_parser_polygon_add_ring | ( | LWGEOM * | poly, |
POINTARRAY * | pa, | ||
char | dimcheck | ||
) |
Definition at line 485 of file lwin_wkt.c.
References POINTARRAY::flags, LWGEOM::flags, FLAGS_NDIMS, global_parser_result, LW_FAILURE, LW_PARSER_CHECK_CLOSURE, LW_PARSER_CHECK_MINPOINTS, LWDEBUG, lwgeom_as_lwpoly(), lwgeom_free(), lwpoly_add_ring(), POINTARRAY::npoints, struct_lwgeom_parser_result::parser_check_flags, PARSER_ERROR_MIXDIMS, PARSER_ERROR_MOREPOINTS, PARSER_ERROR_OTHER, PARSER_ERROR_UNCLOSED, ptarray_free(), ptarray_is_closed_2d(), ptarray_is_closed_z(), and SET_PARSER_ERROR.
Referenced by wkt_parser_polygon_new(), and yyparse().