PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
LWGEOM* wkt_parser_circularstring_new | ( | POINTARRAY * | pa, |
char * | dimensionality | ||
) |
Create a new circularstring.
Null point array implies empty. Null dimensionality implies no specified dimensionality in the WKT. Circular strings are just like linestrings, except with slighty different validity rules (minpoint == 3, numpoints % 2 == 1).
Definition at line 388 of file lwin_wkt.c.
References FLAGS_GET_M, FLAGS_GET_Z, global_parser_result, LW_FALSE, LW_PARSER_CHECK_MINPOINTS, LW_PARSER_CHECK_ODD, lwcircstring_as_lwgeom(), lwcircstring_construct(), lwcircstring_construct_empty(), LWDEBUG, POINTARRAY::npoints, struct_lwgeom_parser_result::parser_check_flags, PARSER_ERROR_MIXDIMS, PARSER_ERROR_MOREPOINTS, PARSER_ERROR_ODDPOINTS, ptarray_free(), SET_PARSER_ERROR, SRID_UNKNOWN, wkt_dimensionality(), and wkt_pointarray_dimensionality().
Referenced by yyparse().