PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ lwgeom_extract_endpoints()

static LWMPOINT* lwgeom_extract_endpoints ( const LWGEOM lwg)
static

Definition at line 82 of file lwgeom_geos_node.c.

83 {
85  FLAGS_GET_Z(lwg->flags),
86  FLAGS_GET_M(lwg->flags));
87  lwgeom_collect_endpoints(lwg, col);
88 
89  return col;
90 }
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
Definition: liblwgeom.h:140
#define FLAGS_GET_M(flags)
Definition: liblwgeom.h:141
LWMPOINT * lwmpoint_construct_empty(int srid, char hasz, char hasm)
Definition: lwmpoint.c:39
#define SRID_UNKNOWN
Unknown SRID value.
Definition: liblwgeom.h:188
static void lwgeom_collect_endpoints(const LWGEOM *lwg, LWMPOINT *col)
uint8_t flags
Definition: liblwgeom.h:400

References LWGEOM::flags, FLAGS_GET_M, FLAGS_GET_Z, lwgeom_collect_endpoints(), lwmpoint_construct_empty(), and SRID_UNKNOWN.

Referenced by lwgeom_extract_unique_endpoints().

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