PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ lwgeom_from_text()

static LWGEOM* lwgeom_from_text ( const char *  str)
static

Definition at line 25 of file cu_measures.c.

26 {
29  return NULL;
30  return r.geom;
31 }
char * r
Definition: cu_in_wkt.c:24
#define LW_FAILURE
Definition: liblwgeom.h:110
#define LW_PARSER_CHECK_NONE
Definition: liblwgeom.h:2060
int lwgeom_parse_wkt(LWGEOM_PARSER_RESULT *parser_result, char *wktstr, int parse_flags)
Parse a WKT geometry string into an LWGEOM structure.
#define str(s)
Parser result structure: returns the result of attempting to convert (E)WKT/(E)WKB to LWGEOM.
Definition: liblwgeom.h:2068

References LW_FAILURE, LW_PARSER_CHECK_NONE, lwgeom_parse_wkt(), r, and str.

Referenced by test_lw_dist2d_pt_ptarrayarc(), and test_lw_dist2d_ptarray_ptarrayarc().

Here is the call graph for this function:
Here is the caller graph for this function: